Files
pipelines/app/notes/runs-tab-status-indicators.md
T

1.5 KiB
Raw Blame History

Independent Runs tab indicators

The Runs tab now shows the executing count at the lower edge in the primary theme colour and the failed count at the upper edge in the error colour. Neither suppresses the other. Zero hides its indicator; the failed label caps at 99+ while the tooltip and accessible label retain the actual count.

Counts use known, unfiltered server summaries and update from existing pushed frames without extra polling. Failed status is independent of notification dismissals and the daily attention window. Terminal statuses override a stale execution flag. Older summaries without that flag can still name running work. Waiting decisions remain announced by the attention label and available in the Needs you bell; they are not mislabelled as failed runs.

The app-level observer now republishes status changes even when total attention is unchanged (for example a waiting run becoming failed). Standalone Runs lists also publish both counts through the existing shell registry.

Focused validation: 24 tests passed, covering both colours/positions in light and dark at narrow/wide widths, zero states, live updates from another tab, unchanged-attention transitions, and terminal/older status summaries. Analysis was clean. Full-suite validation then passed: 3,230 tests, zero failures.

Inspected real-browser captures at 1440×1000 light and 560×1000 dark with running=1&chats=2: both counts are distinct, fit their tab, and remain visible after switching to Chat. This is fake-gateway UI evidence, not live-provider or on-device verification.