Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02dbd86ecb5617bb7c663b2e506a48d72aee8d83fa31c39175f008ad391352a4
Ticket: 02f61bbce5e359abb53466513e21664671b77cda
A superseded CI run is never cancelled
User & Date: dmestas on 2026-08-17 15:10:57
Changes

  1. comment changed 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.
    
  2. status changed to: "Open"
  3. title changed to: "A superseded CI run is never cancelled"
  4. type changed to: "Design"