Skip to content
quarry Tech-note 258b886951
Login

Tech-note 258b886951

CI on quarry changed shape between 2026-10-01 and 2026-10-06. The aim: test each change once, as the merge it will become, and never land on a verdict that no longer describes trunk.

One run per change

A change used to be tested up to three times: the branch tip on push, the merge when a landing opened, and trunk's merge check-in after the accept (!795). Now a push to a branch with an open landing tests the merge with its target, and trunk inherits that verdict when the merge it records is the one that was tested. A trunk row that inherits takes a few seconds instead of a full run.

A verdict is only good for the trunk it tested

On 2026-10-03 four landings were accepted within a minute, each tested against the same old trunk, so their combination was first tested on trunk after it had landed. A merge verdict now counts only while the target is where it was tested, or moved only by work that verdict already covered (!825). A stale green shows on the landing and blocks the accept. An armed "Land when green" landing re-runs its stale merge once per target tip, and lands when that is green (!838).

Faster, and harder to lose

Accepting a landing still takes several seconds of quarry's own work; each phase is now timed in the log (!814), and the slow one is the next fix.