Skip to content

docs(openspec): plan #3671 Grow the watch row's failed-head backoff - #5993

Closed
devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/3671-stage-ready-backs-off-after-a
Closed

devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/3671-stage-ready-backs-off-after-a

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The watch row backs a failed head off with one flat 30-minute wait, so the row re-reads a head whose check failed on the same cadence for 30 minutes and the wait never grows. This change records the wait in minutes in the watch ledger entry of each pull request and grows it: 15 minutes after the first failed read of a head, then 30, then 60, held at 60. A moved head or base clears the wait at the next round, because the row reads the pull request in every round. A running check records no wait and keeps the 3-minute cadence. Item 18 of docs/CLUSTER.md states the new wait. #3671

Plans #3671

Change: openspec/changes/3671-stage-ready-backs-off-after-a/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 16, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 16, 2026 17:10
@dan-petty dan-petty added the verdict/issue-changed Verdict Issue changed: the issue changed or related work merged; not scored label Nov 16, 2026
@dan-petty

Copy link
Copy Markdown
Owner

Verdict: Issue changed (verdict/issue-changed). Closed with no merge.

  • feat(roadmap): one watch row for plan and delivery PRs #5906 removed the row stage_ready. The row watch replaced it and already has a 30-minute failed-head backoff for fix(roadmap): stage_ready backs off after a failed check #3671 (docs/CLUSTER.md:49, src/devops_cli/roadmap/watch_row.py:338). tests/roadmap/test_roadmap_watch_row.py:158 holds that interval, so the acceptance criterion of fix(roadmap): stage_ready backs off after a failed check #3671 is met on main.
  • A growing wait saves no request: ADR 0021 section 8 gives one GraphQL query for each repository in each tick, and the test at test_roadmap_watch_row.py:161-170 asserts 2 GraphQL requests in 2 ticks while the backoff is on. The plan's design.md says the same, and the plan shortens the first wait from 30 to 15 minutes.
  • The one real cost defect is elsewhere: in the REST fallback, read_check_runs (watch_row.py:514) runs before the backoff test (watch_row.py:304-310). That is filed as its own item.

@dan-petty dan-petty closed this Nov 16, 2026
@devops-cli-service
devops-cli-service Bot deleted the fix/3671-stage-ready-backs-off-after-a branch November 16, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents verdict/issue-changed Verdict Issue changed: the issue changed or related work merged; not scored

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant