Repository navigation
Actions Monitor v2026.05.08
2026-05-08
-
Richer notification content + multi-event toast aggregation — single notifications now include PR title, branch (with prefix),
→ targetfor PR mode, and the Jira key parsed from the branch — previously the body was just{workflow_name} • Run #{n}. Title now embeds workflow name + verb (✗ Acceptance failed). Batched toasts (when multiple notifications coalesce insidenotifications.batch_window) now render a header summary line (✗ 2 failed • ▶ 1 started) followed by per-event lines (up to 4, then… and N more), sorted failure → new_run → success. Added alinefield on_PendingNotificationcarrying the single-line summary;WorkflowPoller._build_notification(notif_type, state, is_pr)produces(title, body, line)from existingWorkflowStatefields — no extra API calls. Toast-click URL falls back tostate.pr_urlwhenstate.run_urlisn't set. -
Codebase audit cleanup — extracted status constants (
ST_*,CONCLUSION_MAP,_STATUS_PRIORITY,_resolve_status) into a new pure-datasrc/status.pymodule, eliminating the triple definition that previously lived inpollers.py,icons.py(as_ST_*), and the doc claim that they lived inmain.py.pollers.pyre-exports for backward compat so existing call sites (from pollers import ST_*) keep working. ReorderedMainWindow._apply_eventto callrow.update()before committingself._states[key]— arow.update()exception used to leave the state map ahead of the UI. Tightened thenew_runnotification guard inPRWorkflowPoller._pollto fire only when a previously-unseen run ID appears (pure GitHub run-history shrinkage no longer spams). Replaced three silentexcept Exception: passblocks inpollers.py(_fetch_user_open_prs, extra-workflow_fetch_branch_runs) and one ingh_api._cached_unresolved_fetchwithprint(..., file=sys.stderr)calls so token / network failures are diagnosable from the console. -
Per-section
include_in_tray_status+notifications_enabledflags — needed because URL mode surfaces PRs the user doesn't own (e.g. an "Open for Review" inbox); failures there shouldn't turn the tray red and shouldn't notify. Addedpollers.section_flags(cfg_entry)returning both flags with mode-aware defaults:include_in_tray_status=truefor every mode;notifications_enabled=truefor branch/pr/actor,falsefor URL mode.MainWindow._update_tray()now filters out states from sections withinclude_in_tray_status: falsebefore calling_combined_status().WorkflowPoller._fire_notification()early-returns when the section flag is off, replacing URL mode's previous "never call_fire_notification" pattern with a single uniform gate. Documented under "Section flags" inCLAUDE.mdand on the URL example inconfig.template.yaml.