Builder: a reservation's kept publishes are taken in before its bound is judged; version-unreleased only for a version left unpublished, never over a finding that stands (issue 1984)
#360
Merged
mesh-toolsmerged 5 commits from fix/builder-record-digests into main2026-11-23 18:34:53 +00:00
Issue 1984 note 8 (1984/AC4, AC5): the builder recorded a build's digests only at its end, armed a reservation's bound before taking in the publishes kept during the build, and raised version-unreleased with "nothing within" over a holder's words.
d0a04b77: record digests once and take a built reservation in from its state (1984/AC4, AC5; G §369, A-415, A-456b, A-457a, H-A-492).
828f9056: past the bound, raise version-unreleased only when none stands for the module (review round 1).
83f858df: Built and releasedAtStart take the kept in first, then arm on that reservation; lapsed raises only when none stands, for arm past the bound, arm's bound-write failure and ended (review round 2). A failed publish again and the A-490j digest mismatch still write their words (ADR 0674 §3).
ee80b0be: ended raises nothing when every artifact is published (1984/AC5, G §369).
At its first start the builder raises version-unreleased for hello-web 0.1.2, mailu 0.1.11 and showcase 0.1.11, each with one artifact unpublished since 2026-11-22: true findings the operator will see.
Issue 1984 note 8 (1984/AC4, AC5): the builder recorded a build's digests only at its end, armed a reservation's bound before taking in the publishes kept during the build, and raised version-unreleased with "nothing within" over a holder's words.
- d0a04b77: record digests once and take a built reservation in from its state (1984/AC4, AC5; G §369, A-415, A-456b, A-457a, H-A-492).
- 828f9056: past the bound, raise version-unreleased only when none stands for the module (review round 1).
- 8e600d3a: merge main a118976b.
- 83f858df: Built and releasedAtStart take the kept in first, then arm on that reservation; `lapsed` raises only when none stands, for arm past the bound, arm's bound-write failure and `ended` (review round 2). A failed publish again and the A-490j digest mismatch still write their words (ADR 0674 §3).
- ee80b0be: `ended` raises nothing when every artifact is published (1984/AC5, G §369).
At its first start the builder raises version-unreleased for hello-web 0.1.2, mailu 0.1.11 and showcase 0.1.11, each with one artifact unpublished since 2026-11-22: true findings the operator will see.
Reviewed-by: lead-47@shanks at ee80b0be4782ee4ee0f6f50f19d20bb42b4c06e3
mesh-delivery-contracts 0.1.108's 39 digests were recorded one artifact at a
time, each a rewrite and a reindex (about 850 index reads), and timed out three
times under the one-minute record bound after its build was ended: its bound was
never armed, the published kept on it never taken in, and RecordAgain skipped it
since its build stood ended, so nothing said it (main.495's tier 2 held).
- versions.Reserver.Built takes the whole digest map: one compare-and-set of the
reservation and one reindex; an artifact recorded already is skipped, so a
record tried again writes only what the one before left, and nothing when all
stand (1984/AC4). It answers the reservation as written, so the holder no
longer reads every reservation after the record.
- What follows a record follows the reservation's state: RecordAgain hands a
recorded reservation to Built at every look, and the start takes in every
built one not released: its bound is armed, counted from its build's end, and
the published kept on it are taken in and said as package-published; one left
with an artifact unpublished past its bound raises version-unreleased at once
and is not armed again (1984/AC5).
Builds: issue 1984 note 8 (1984/AC4, AC5), design 47 G §369, A-415, A-456b, A-457a, H-A-492
The past-bound branch of arm is reached at every look, and raised
version-unreleased again each time as "nothing within 10m0s of its build",
writing over the words it was left with (a holder's refusal, ADR 0674 §3;
design 47 G A-490j). Once the bound has passed it now raises only when the
held writer holds no version-unreleased of the module (Held, design 47 G
A-38).
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369, A-38, A-490j
A built reservation's bound was judged before the published kept on it were
taken in, at a look (Built) and at the start: one past its bound whose kept
published mark every artifact (note 8's own case) raised version-unreleased
naming every artifact unpublished, then said package-published for each, and
the false finding stood until its version-released. The kept are now taken in
first (Kept answers the reservation as its take-in left it), and the bound is
armed or judged on that reservation.
The bound's end (ended) raised "nothing within" over the words the publish
again left within the bound, the kind round 1 fixed past the bound. Every raise
that says only the bound ended or could not be armed now goes through lapsed,
which raises only when no version-unreleased of the module stands (Held,
design 47 G A-38). The raises with words of their own, a holder's refusal of a
publish again (ADR 0674 §3: left "raised with the holder's words") and a digest
no artifact carries (A-490j: "fails loudly"), still write over a standing one.
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369, A-415, A-38, A-490j, ADR 0674 §3
The bound's end (ended) raised version-unreleased for a built reservation
whose every artifact was published, saying "an artifact is unpublished",
while arm past the bound leaves that reservation waiting for its
version-released. 1984/AC5 raises only for a built reservation left unmarked
past its bound, so ended now raises nothing when no artifact is missing.
Builds: issue 1984 note 8 (1984/AC5), design 47 G §369
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Issue 1984 note 8 (1984/AC4, AC5): the builder recorded a build's digests only at its end, armed a reservation's bound before taking in the publishes kept during the build, and raised version-unreleased with "nothing within" over a holder's words.
d0a04b77: record digests once and take a built reservation in from its state (1984/AC4, AC5; G §369, A-415, A-456b, A-457a, H-A-492).828f9056: past the bound, raise version-unreleased only when none stands for the module (review round 1).8e600d3a: merge maina118976b.83f858df: Built and releasedAtStart take the kept in first, then arm on that reservation;lapsedraises only when none stands, for arm past the bound, arm's bound-write failure andended(review round 2). A failed publish again and the A-490j digest mismatch still write their words (ADR 0674 §3).ee80b0be:endedraises nothing when every artifact is published (1984/AC5, G §369).At its first start the builder raises version-unreleased for hello-web 0.1.2, mailu 0.1.11 and showcase 0.1.11, each with one artifact unpublished since 2026-11-22: true findings the operator will see.
Reviewed-by: lead-47@shanks at
ee80b0be47a118976binto fix/builder-record-digests (issue 1984) 8e600d3a52