|
2026-09-24
| ||
| 00:53 | • Ticket [49323c3374] ci: fire a run when a landing opens and its tip has none status still Closed with 1 other change artifact: ccf01d1379 user: zeitgeist | |
|
2026-09-23
| ||
| 02:26 | • Closed ticket [49323c3374]. artifact: b0a98371eb user: zeitgeist | |
|
2026-09-14
| ||
| 12:52 | • Ticket [49323c3374]: 5 changes artifact: 6df2e4ef78 user: zeitgeist | |
|
2026-09-02
| ||
| 16:45 | • Open ticket [49323c3374]. artifact: 4cd9dad5df user: dmestas | |
| 16:42 | • Review ticket [49323c3374]. artifact: a0578bd006 user: dmestas | |
|
2026-08-23
| ||
| 12:23 | • New ticket [49323c3374]. artifact: 981169cdc1 user: dmestas | |
ci: fire a run when a landing opens and its tip has none
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.
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.
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.