Artifacts Associated With Ticket 49323c3374
Ticket change [981169cdc1] (rid 2145) by dmestas on 2026-08-23 12:23:15:
- comment initialized to:
The event half of zit#127. Opening a landing must trigger a run; so must a new check-in on a branch with an open landing, because the intended workflow keeps merging trunk into the branch and testing there. Rides the existing event plane and the v2 webhook dispatcher rather than growing a second trigger path. Decide whether the branch watch is separate from the artifact watch or whether one subscription covers both.
- priority initialized to: "High"
- severity initialized to: "Important"
- status initialized to: "Open"
- subsystem initialized to: "ci"
- title initialized to:
ci: fire a pipeline when a landing opens or its branch moves
- type initialized to: "Feature_Request"
- comment initialized to:
Ticket change [a0578bd006] (rid 5096) by dmestas on 2026-09-02 16:42:29:
- status changed to: "Review"
Ticket change [4cd9dad5df] (rid 5098) by dmestas on 2026-09-02 16:45:48:
- status changed to: "Open"
Ticket change [6df2e4ef78] (rid 8507) by zeitgeist on 2026-09-14 12:52:00:
- Untracked field cmimetype: "text/x-markdown"
- comment changed to:
Narrowed 2026-09-14 after tracing what exists. Original ask: the event half of zit#127 — fire a pipeline when a landing opens AND when a new check-in lands on a branch with an open landing. THE BRANCH HALF IS DONE, by a different mechanism than this ticket proposed. registrar.go's fold loop calls ci.Trigger on every fold, so every check-in on any branch gets a run, and ci/trigger.go supersedes that branch's still-running runs. Branches with open landings are covered incidentally, by the watermark sweep. That also answers the question this ticket left open — whether the branch watch is separate from the artifact watch, or one subscription covers both. Neither: there is no watch. evt.BranchMoved and evt.LandingOpened are both raised, and nothing in CI subscribes to either. No run is started from the event plane or the v2 dispatcher. WHAT IS LEFT: opening a landing does not fire a run. The only two callers of a run-starter are that fold loop and the manual ci.trigger op; landing.open does not touch CI. So a landing opened at a check-in whose run never happened, was pruned, or was cancelled shows "Waiting for 1 required check", and the reader has to know to press Re-run — which web.go's AnyRunning comment already states outright: "a required check with no run at all, where Re-run is the only way to start one." Same dead end as cancelled-run recoverability; worth doing together.
- icomment:
Traced this today. The branch half is already satisfied — by the fold loop, not by an event subscription — so the design question this ticket left open has no answer to give: there is no watch. What is left is only the landing-open trigger, and it is the same dead end as cancelled-run recoverability. Description narrowed to that; the title follows it.
- mimetype: "text/x-markdown"
- title changed to:
ci: fire a run when a landing opens and its tip has none
Ticket change [b0a98371eb] (rid 11587) by zeitgeist on 2026-09-23 02:26:17:
- icomment:
Closed on build 0c568a642f2a (landing 562188a3ac5a). landing.open already asked for a run when a required check had no verdict at the branch tip; every landing zit opens arrives by push and never passes through that op, so the ask is now one producer (Deps.RunForOpenedLanding) called by the op and by a sweep after every fold, which seeds the open landings on its first pass without asking and then asks once per landing a fold adds. Measured on the live build: pushed a check-in on branch ci-probe-49323c33 (tip 429e1332d062); the fold loop started run 3ec27ce9; cancelled it at the engine (status cancelled, a non-verdict); opened a landing by zit landing open + push (c961e6671496). Four seconds after the push the tip carried a second run bc78b35e running beside the cancelled one, and the log said: ci: quarry: landing c961e6671496 opened with no verdict for [quarry]; run asked for at 429e1332d062. A first probe whose run had already completed before the landing opened asked nothing, as intended. Both probe landings rejected.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [ccf01d1379] (rid 12511) by zeitgeist on 2026-09-24 00:53:48:
- Untracked field number: "76"