Design 47 H: H-A-155, a build waits for its revision, never a build without a version

This commit is contained in:
2026-11-20 17:05:08 +01:00
parent 01842bbeee
commit d4e90591a9
@@ -768,3 +768,13 @@ Where two preparers disagreed, the chosen one is named.
the number of the newest kept revision below it that it pinned, absent on the branch's first take-in. Validate's
before case reads that field from the revision it already asks for, so the base the pipeline keeps and the base
validate reads are one and the same, written in one write (P2, P7, P1). No new verb and no second ask.
- **H-A-155 (a build waits for its revision; never a build without a version, 17:05)** Met at pipelines main.8
(15:19) and main.21 (17:03, the first proof): a step ask reached the builder before its picture of the branch's
catalog revisions held the revision the pipeline builds, so the builder built the fingerprint and reserved no
version ("built ... but no version is reserved for it"), and the pipeline failed on a hand act's words. The builder
reserves the version before it builds: a build ask names its branch and source revision (the step ask carries
them); when the builder's picture of that branch does not hold that revision yet, the ask waits for the picture to
take it in (the state's change event, no timer) up to a bound (a setting, default two minutes), then builds with the
version reserved; past the bound the ask fails with "revision N of <branch> not in the builder's picture" and the
step fails loud. A build with no version is never made, and `builder_reserve_done` stays a recovery tool for
builds of the earlier model only. P3, P1, P11.