Exclude closed completed issues from active dispatch-health failures #1579

Merged
coilysiren merged 1 commit from issue-1576 into main 2026-07-28 03:06:37 +00:00
Member

This tightens ward agent dispatch-health so closed issues with historical blocked/salvage noise stop counting as active failures once live issue state shows they are complete.

The report now checks the live tracker before tallying issue-scoped backlog entries, running rows, and stale prelaunch holds. Closed issues with a done outcome are treated as historical only; open issues and closed-unmerged PR recovery paths still stay active.

  • Filters closed-complete issue refs out of queued, failed, held, submitted, merge-ready, running, and cleanup-needed counts.
  • Keeps terminal comments in history while suppressing stale active failure signals.
  • Adds a regression test covering done-vs-salvage history and issue/row/stale-hold filtering.

Validation:

  • ward exec vet
  • ward exec lint
  • ward exec build
  • ward exec pre-commit
  • WARD_HOST_GOOS=linux ward exec test

closes #1576

This tightens `ward agent dispatch-health` so closed issues with historical blocked/salvage noise stop counting as active failures once live issue state shows they are complete. The report now checks the live tracker before tallying issue-scoped backlog entries, running rows, and stale prelaunch holds. Closed issues with a done outcome are treated as historical only; open issues and closed-unmerged PR recovery paths still stay active. - Filters closed-complete issue refs out of queued, failed, held, submitted, merge-ready, running, and cleanup-needed counts. - Keeps terminal comments in history while suppressing stale active failure signals. - Adds a regression test covering done-vs-salvage history and issue/row/stale-hold filtering. Validation: - `ward exec vet` - `ward exec lint` - `ward exec build` - `ward exec pre-commit` - `WARD_HOST_GOOS=linux ward exec test` closes #1576
Exclude closed completed issues from dispatch health
All checks were successful
test / test (pull_request) Successful in 47s
462b25ecf5
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward!1579
No description provided.