Design 47 H2: H-A-628, the take-in blanks only a mover's entry; a run's empty pin is filled from mesh-builds.published or waited for (issue 1984)
This commit is contained in:
@@ -454,3 +454,42 @@ design now.
|
||||
provider's `record` ask standing in `asks` from minute 5 to minute 45 of tier 1, nothing is late at minutes 30 and 69
|
||||
and `tier-late` is raised at minute 70; with the provider running at minute 50, the consumer's want is written then.
|
||||
ADR 0682 §8, §9; ADR 0596 §2, §4; principles 1, 3 and 4.
|
||||
|
||||
## The empty pin of a run's entry (issue 1984 notes 19 to 22, 2026-11-23 from 21:40 CET)
|
||||
|
||||
Issue 1984 note 22: every composition of a take-in whose movers publish a package the node-engine imports ended
|
||||
"could not run: no pin for …", because the take-in blanked that package's pin in every import-form entry, the
|
||||
node-engine's among them though it was no mover, and the composition run gave the empty pin to the build module, which
|
||||
refuses it at once; nothing filled it after the publish. The prepare of this fix found four questions and three places
|
||||
where the design and the code disagree; the lead's answers follow, each against the principles.
|
||||
|
||||
- **H-A-628 (the take-in blanks only a mover's entry; a run's empty pin is filled from `mesh-builds.published` or
|
||||
waited for, 21:45)** 23 Nov, issue 1984; answers the questions the prepare of the fix found against H-A-532 DMC-1,
|
||||
H-A-547 (2) and (3), H-A-551, H-A-192, H-A-204, H-A-326, H-A-328, G §718, §719, §720 and H §745. (1) The take-in
|
||||
blanks a package's pin, as H-A-532 DMC-1 has it, only in the import-form entry of a mover of that take-in; a module
|
||||
that is no mover keeps its pins, since no step of that pipeline builds it and so no build waits for the publish the
|
||||
blank serves (principle 7; principle 3: a blank nobody fills fails a later ask). (2) For a run the assigner builds
|
||||
from an entry (the composer of G §718, the validator of H §745), an empty pin is filled by the assigner's ask of the
|
||||
seat `mesh-builds`' verb `published` (H-A-328) for the publisher's build in the step's revision, and the version it
|
||||
answers is the pin: the assigner computes no pin and copies no logic of the builder, and no contract changes
|
||||
(principles 1, 9 and 7). H-A-328's one caller gains the assigner. (3) While `published` answers not published, the
|
||||
run waits: it reads first, then is woken by `mesh-builds`' `package-published` of that package (H-A-326's order).
|
||||
The wait is bounded by an assigner setting `package-wait-minutes`, with the builder's range and default (1 to 120,
|
||||
10); meanwhile the step's progress says the phase `fetch` (no new phase) and the journal names the package; past
|
||||
the bound the run ends could not run, "package <path> has no published version within <bound>" (principles 1, 11,
|
||||
3 and 7). (4) The wait arms the run's own bound key of §720 (`bound.<run key>`, its time to live the bound of (3)),
|
||||
so the bound outlives an assigner restart; its expiry ends the run as (3) says, and an assigner start finds a run
|
||||
still waiting by its missing program and starts its wait again (principles 1 and 7). (5) So the assigner never puts
|
||||
a run ask with an empty pin: `pinsOfEntry`'s silent drop goes, and the words that end such a run name the package,
|
||||
the entry and why it has no version, never the builder, which never had the ask (H-A-204: "never left out";
|
||||
principle 3). (6) A blank carried into the kept packages of a watched branch other than the first at its next
|
||||
take-in (H-A-547 (2): "never in a module's kept packages") is not part of this fix: no live case shows it, and with
|
||||
(1) only a mover's entry is blanked. It is noted on the issue for the code milestone, with whether a published
|
||||
version whose reservation the builder dropped stays the series' newest (H-A-495's addendum), and the builder's
|
||||
reserve of a number for a done build whose fingerprint is already released (principle 7). In the indexer and the
|
||||
assigner (mesh-delivery). How it is checked: rows of the indexer's `TestMoversOf` (a mover's entry blanked, a
|
||||
non-mover's kept), a row each of the composition run's and the validate step's unit tests (an empty pin filled from
|
||||
`published`), the existing whole test `TestTheCompositionStepComposesEachMachineThroughTheBuildSeat` extended (a
|
||||
run that waits for a package's publish and composes after it; one past the bound ends could not run naming the
|
||||
package), never a new top-level test function; live, the first take-in after delivery whose movers publish a
|
||||
package the node-engine imports has every composition pass. Principles 1, 3, 7, 9 and 11.
|
||||
|
||||
Reference in New Issue
Block a user