Design 47 H2: H-A-496, a pipeline's kept revisions are pinned; a lost one ends the pipeline loudly

This commit is contained in:
2026-11-22 21:09:22 +01:00
parent cad0fd6681
commit 094593255c
@@ -1178,3 +1178,12 @@ The lead's one-line answers to the questions H2's develop and review raise (impl
serves only a pin the ask gives as a commit (a group's own heads, ADR 0573 §4); a version a go.mod names is never
placed, it is refused (second addendum); the directory's own zero-version requirements are taken or refused before
any download of the rest, so no forge path reaches the public proxy first. P-failure-loud.
- **H-A-496 (a pipeline's kept revisions are pinned, and a lost one ends the pipeline loudly, 01:00)** 22 Nov
21:12: main.291 held the one pipelines-at-once turn for 50 minutes waiting for catalog revision 292, which the indexer
had removed at 20:21 because only a pipeline's own revision is pinned, never the revisions its re-pin kept movers at.
So: pipeline-started (and the re-pin's pipeline event) carries every revision the pipeline's movers are kept at;
the indexer's HeardPins pins each of them under the pipeline's key and frees them at pipeline-ended, so JudgePins
never removes a revision a running pipeline reads (P-failure-loud, principle 9: the pin is the indexer's, asked
through the event); and the runner's wait for a kept revision ends when the catalog answers "no such object":
the pipeline ends failed with "kept revision <r> gone", its movers rejoin the next pipeline, and the turn is freed.
Quick recovery today: runner_cancel main.291 (said); its movers are carried by main.304.