Repository navigation
Description
This was generated by AI during triage.
What happened
On 2026-11-12 an Architect-dispatched run on flintmark #7 failed: "CI red on 0e507b6 and the Repair found nothing to fix on the branch". The Command log (thirdshift.app, commands/architect/20261112T011021-0500~…) shows:
02:08:27 CI red; starting Repair 1 of 5
02:14:10 re-running the failed checks on 0e507b6: All release acceptance passed, Acceptance (windows-2025, vscodium)
02:15:18 no re-run appeared on 0e507b6 within 60s
02:15:32 CI red on 0e507b6 and the Repair found nothing to fix on the branch
GitHub did start the re-run, and it passed on both 0e507b6 and a8abe83. After a manual re-queue, #7 merged as PR #8.
The two failed checks come from one workflow, flintmark's .github/workflows/acceptance.yml. Acceptance (windows-2025, vscodium) is a matrix job of editors. All release acceptance passed is the verified job, with needs: [candidate, quality, editors].
As of origin/main 5e573fe, watch_new_attempts in src/ci.rs waits up to the grace period (60s) until RerunChecks::new_attempts_listed holds. That requires a new attempt of every re-run failed check in the requested workflow runs. The likely cause: GitHub creates the new attempt of a dependent job such as verified only when the jobs it needs have finished. Here that meant after the Windows acceptance job, many minutes later, so the 60s wait can never succeed for a workflow whose failed checks include a downstream aggregate job. Confirm this against GitHub's behavior or the fake before changing the code.
Agent Brief
Category: bug
Summary: A Check re-run is abandoned when a failed job that needs another failed job can't show its new attempt within the grace period.
Current behavior:
After requesting a re-run of failed jobs, thirdshift waits 60s for a new attempt of every failed check. A failed aggregate job that depends on another failed job doesn't get its new attempt until that dependency finishes, so thirdshift reports "no re-run appeared" and fails the Run while GitHub's re-run is in progress and later passes.
Desired behavior:
- The re-run counts as started once a new attempt has appeared for the requested workflow run, for example a new attempt of at least one failed job, or a new run attempt number on the workflow run.
- thirdshift then watches CI to the end as it does today, including the dependent jobs' new attempts once they appear. They are treated as pending, not as still failed from the old attempt.
- The "no re-run appeared" outcome remains for re-runs where nothing new appears at all.
Key interfaces:
src/ci.rs:watch_new_attempts,RerunChecks::new_attempts_listed/check_is_listed,watch_to_end, and the Abandoned job re-run path that shares them.GLOSSARY.md: Check re-run, Repair, CI watching.
Acceptance criteria:
- A fake-GitHub scenario with two failed jobs in one workflow run, B
needsA: after the re-run request only A's new attempt is listed within the grace period, B's appears after A passes, then B passes. CI ends green and the Run succeeds. - If B's new attempt fails, CI ends red as today.
- If no new attempt of any job appears within the grace period, "no re-run appeared" is reported as today.
- Existing
src/ci.rstests keep passing.
Out of scope:
- Changing the grace period's length.
- Re-running more than once.
Activity
JacobStephens2 commentedon Nov 12, 2026
This comment was generated by AI.
thirdshift's Run on this issue failed, so it waits for the Day shift.
issue-2098may exist only locally on thirdshift; its push was not confirmed, with pull request Keep a Check re-run going while dependent jobs await new attempts #2137Put
ready-for-agentback to retry.Document dependent jobs in a Check re-run (#2098)
Bound the wait for a dependent job's re-run attempt (#2098)