Artifacts Associated With Ticket 02f61bbce5e359abb53466513e21664671b77cda
Ticket change [02dbd86ecb] (rid 585) by dmestas on 2026-08-17 15:10:57:
- comment initialized to:
When check-ins land in quick succession, quarry launches a run per check-in and lets every one of them finish. Nothing tells dagnats that a run is now pointless because a newer check-in on the same branch has its own run. For a slow pipeline on an active branch that wastes most of the engine's capacity, and the wasted runs are precisely the ones nobody will read: the verdict people act on is the tip's. Not simply 'cancel the previous run', though. Two things argue against being aggressive: - A verdict is recorded per check-in as a tag artifact, and a cancelled run yields ci-fail. Cancelling a superseded run would stamp ci-fail on a check-in that was never actually tested, which is worse than no verdict at all — a reader cannot tell 'we stopped caring' from 'this broke'. - Bisecting wants per-check-in verdicts. Cancelling everything but the tip destroys exactly the history that makes a regression findable. So the fix probably needs a distinct outcome for 'superseded' rather than reusing failure, and likely an opt-in policy per repository. Worth thinking about before building, which is why this is filed rather than done. Related: the poller writes a verdict for any terminal state, so whatever is decided here has to teach it that superseded is not failure.
- status initialized to: "Open"
- title initialized to: "A superseded CI run is never cancelled"
- type initialized to: "Design"
- comment initialized to:
Ticket change [9765bc27f3] (rid 861) by dmestas on 2026-08-18 18:40:07:
- Untracked field cmimetype: "text/x-markdown"
Ticket change [99ffee9798] (rid 1075) by dmestas on 2026-08-19 11:04:34:
- priority changed to: "Medium"
- severity changed to: "Minor"
- type changed to: "Code_Defect"
Ticket change [744eb92d8c] (rid 1125) by dmestas on 2026-08-19 12:10:49:
- subsystem changed to: "ci"
Ticket change [c55c0a31e9] (rid 4702) by ai-local on 2026-09-01 01:08:23:
- icomment:
Fixed. Engine.Supersede cancels still-running runs of a workflow carrying the same labels, called from internal/ci/trigger.go when a newer check-in triggers. Verified live today: the server log shows "superseded 1 run(s)" and the superseded run reaches status cancelled — run aafe519b was cancelled mid-flight when a newer trunk check-in arrived.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [163b1bb47e] (rid 12443) by zeitgeist on 2026-09-24 00:52:41:
- Untracked field number: "8"