Commit Graph
499 Commits
Author SHA1 Message Date
jschoubben b0ef5ef6e4 B11 item-given-up: an item at the queue's tenth delivery is terminated and version-unreleased raised, given up after 10 deliveries
Builds: design 47 H2 H-A-653, H-A-703
2026-11-25 17:49:50 +01:00
jschoubben 88bdd4bd33 B9 publish-kept-call: a publish's kept call that has waited five minutes raises call-unanswered about its ask id, and its answer clears it
Builds: design 47 H2 H-A-613 (4), H-A-620 (3), H-A-625 (3)
2026-11-25 17:49:49 +01:00
jschoubben 87e7912220 B8 again-queue: per holder two durables, -live with four sends in flight and -again with one, each with the stream's max age as inactive threshold; a put reads the subject first
Builds: design 47 H2 H-A-700 (1) (2), H-A-719, H-A-620 (1) (2), H-A-613
2026-11-25 17:46:59 +01:00
jschoubben 52f716741e B7 publish-again-on-events: the returned path takes the holders' nodes from the seat-holders view
Builds: design 47 H2 H-A-606, H-A-742
2026-11-25 17:46:59 +01:00
jschoubben 64398c792b B7 publish-again-on-events: a publish is put again on a registry holder's running or its node's return, once per sequence, never on a timer
Builds: design 47 H2 H-A-606 (and its round 3), H-A-613 (3), H-A-720 (1), H-A-741 (2); returned's node match waits on contracts' SeatHolderNodes (H-A-742)
2026-11-25 17:45:06 +01:00
jschoubben 72ef5dc7c4 B7 (1): a mark is updated by one publish carrying its lifetime and the expected last sequence of its key
Builds: design 47 H2 H-A-720 (1), H-A-741
2026-11-25 17:38:47 +01:00
jschoubben a84db91177 B7 (1) acted-lifetimes: acted is key-ttl with max-mib 4; marks take the lifetime acted-days (30), the release record none; keys of no form go at the start
Builds: design 47 H2 H-A-720 (1) (2) (3) (4)
2026-11-25 17:34:24 +01:00
jschoubben db3e853cb7 B4 (2) other-bytes by fingerprint: an other-bytes answer for the publish's own fingerprint ends as published with the held digest
Builds: design 47 H2 H-A-738 (1)
2026-11-25 17:32:28 +01:00
jschoubben d9f733318c B16 events-by-key (2): a retake lists no key; the set of keys failed on a transport fault is filled by the start sweep and kept by every write
Builds: design 47 H2 H-A-683 (2), H-A-696
2026-11-25 17:31:36 +01:00
jschoubben d77bff56c4 B16 events-by-key (1): the builder's events go through mesh-sdk's hub by key; its eventWorkers go
Builds: design 47 H2 H-A-683 (1), H-A-695, H-A-737 (1)
2026-11-25 17:27:21 +01:00
jschoubben 94afdcb6b4 B17 build-holds-its-entry: a build takes the newest entry of its fingerprint and its origin at its start; an older revision's entry never moves the origin back
Builds: design 47 H2 H-A-707 (1) (2)
2026-11-25 17:22:23 +01:00
jschoubben b7a3d85514 B14 reserve-done-goes: builder_reserve_done and its mode go whole; a build with no version names builder_build_again
Builds: design 47 H2 H-A-661, H-A-665, H-A-706 (DQ-39)
2026-11-25 17:21:33 +01:00
jschoubben 7401951a86 B20 published-says-fingerprint: a package-published said for a reservation names its fingerprint
Builds: design 47 H2 H-A-707 (6)
2026-11-25 17:20:17 +01:00
jschoubben c0b3fc4138 B4 (2): a version a registry holds with other bytes ends the publish item at once, spending no try
Builds: design 47 H2 H-A-590 (2), H-A-589 (1), H-A-729, H-A-732
2026-11-25 17:17:14 +01:00
jschoubben b79b3a6300 B15 superseded-names-its-revision: a superseded end with no revision heard is could-not-run, never superseded with a zero
Builds: design 47 H2 H-A-650, H-A-561
2026-11-25 17:16:49 +01:00
jschoubben 9f09149362 B13 upstream-filled: the republisher's read of the entry fills a reservation's upstream once by compare-and-set
Builds: design 47 H2 H-A-656, H-A-486
2026-11-25 17:15:54 +01:00
jschoubben 6af989cece B6 drop-names-its-version: builder_reserved_drop takes the version, refuses another or a building one, and names what it forgot
Builds: design 47 H2 H-A-592 (1) (2) (3)
2026-11-25 17:15:05 +01:00
jschoubben b7dc1dc3e1 B5 read-before-the-ask: the registries' record at V is written on the reservation before a build module is asked again; a first not stored starts the build again once
Builds: design 47 H2 H-A-588 (3) (4), H-A-662, H-A-664, H-A-666, H-A-703
2026-11-25 17:14:05 +01:00
jschoubben 13c9fb430e B4: gofmt 2026-11-25 17:12:19 +01:00
jschoubben 354e943d24 B4 held-elsewhere: a build again withdraws a standing number a registry holds for another build and takes the next free one
(2), the publish item's end at a refusal for other bytes, waits on the lead's answer.

Builds: design 47 H2 H-A-590 (1) (3), H-A-616, H-A-279
2026-11-25 17:12:17 +01:00
jschoubben 19f8f6b637 B3 held-at-its-version: a registry's record at V is judged for every artifact, by the fingerprint it keeps or the reserved digest; MarkHeld writes it
Builds: design 47 H2 H-A-588 (4), H-A-616, H-A-663
2026-11-25 17:10:37 +01:00
jschoubben 991f93c51b B2 revision-wait-said: a step ask's wait for its revision is said wait-held and wait-ended on the builder's waits
Builds: design 47 H2 H-A-577 (1)
2026-11-25 17:08:38 +01:00
jschoubben 2349289444 B1 floor-silent-retired: the builder's finding writer clears floor-silent at its start
Builds: design 47 H2 H-A-578 (1), H-A-247 (3)
2026-11-25 17:06:31 +01:00
jschoubben ee80b0be47 mesh-delivery-builder: a bound's end raises nothing for a reservation whose every artifact is published (issue 1984, review round 2)
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
2026-11-23 18:47:14 +01:00
jschoubben 83f858df7a mesh-delivery-builder: judge a built reservation's bound after its kept published are taken in; only a raise with words of its own writes over a standing version-unreleased (issue 1984, review round 2)
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
2026-11-23 18:43:45 +01:00
jschoubben 828f905694 mesh-delivery-builder: a standing version-unreleased keeps its words past the bound (issue 1984, review round 1)
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
2026-11-23 18:22:21 +01:00
jschoubben d0a04b77f0 mesh-delivery-builder: record a build's digests in one write and take a built reservation in from its state (issue 1984)
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
2026-11-23 18:22:14 +01:00
jschoubben 6715389a88 mesh-delivery-builder: format step_test.go as gofmt writes it (issue 721; main.495's lint failed on it) 2026-11-23 17:26:06 +01:00
jschoubben d6e56d98f9 Merge remote-tracking branch 'origin/main' into fix/fp-imports 2026-11-23 13:19:00 +01:00
jschoubben e25aed10bb B4: the bed watches the reserved bucket for the release's delete, never polls
Review r1 finding 3: the wait for the reservation's delete slept between
reads; it now watches the module's keys and ends on their delete.

Builds: design 47 H2 H-A-551
2026-11-23 13:14:17 +01:00
jschoubben a82e97baf4 B4: the builder's bed proves an unpinned package filled at the key's origin
An entry naming a mesh package with no version is built, in the builder's
bed, with the version its publisher reserved at the source revision of the
key's own origin once a registry seat says that version published, not the
newer one another published said; and, once that version is released and its
reservation gone, the next such build takes it from the release record. A
case of the existing done-key test, so the integration count stays at 17.

Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-558 (2)
2026-11-23 13:03:01 +01:00
jschoubben f9e2bbe193 mesh-delivery-builder: a superseded end names the superseding entry's revision (H-A-561)
A build step ended superseded names the module graph revision of the
entry that superseded it: the revision the picture heard that entry at,
or the ask's own revision where the catalog's kept revision names the
newer fingerprint. The runner then judges the end by that revision, not
by the order the entries were heard in.

Builds: design 47 H2 H-A-561
2026-11-23 12:39:18 +01:00
jschoubben e247ccc794 mesh-delivery-builder: an older revision's entry stays behind the newest heard (H-A-557, review r1)
An entry heard of an older module graph revision than the one the
picture holds for its branch neither replaces it as the newest nor
withdraws its build; it is said in the journal. The test hears revision
453's entry with its build running, then 452's, then 454's.

Builds: design 47 H2 H-A-557
2026-11-23 12:35:19 +01:00
jschoubben d1256ec941 B4: the released record keeps the origin's branch with its source revision
Source revisions are numbered per watched branch today, so a release found
by its source revision alone could meet another branch's equal number and
fill an importer with the wrong version. The record keeps the branch the
reservation came from, and an importer's fill matches both.

Builds: design 47 H2 H-A-558 (2), H-A-551
2026-11-23 12:32:00 +01:00
jschoubben 9c64253b1f mesh-delivery-builder: a build is superseded only by an entry of a newer revision (H-A-557)
The builder's picture lags a step ask whose revision it reads by number:
main.453 asked fp f1b929cd at revision 453 (source 141) while the picture
still held source 140's ee67bdfc as the last entry heard, and supersededBy
judged the newer ask superseded by the older entry. The builder now keeps
the revision beside each entry it heard and supersedes a fingerprint only
by an entry of a newer module graph revision than its own; an older or
equal one is passed over and said once. An older entry heard never
withdraws a newer build either.

Builds: design 47 H2 H-A-557, H-A-555
2026-11-23 12:26:28 +01:00
jschoubben f474987827 I13b: the versions fill, the event versions-filled and the builder's fill wait go
The indexer's first fill of the versions from builder_versions was the only
part that said versions-filled, and the numbering it served is gone. So the
fill, its edges and its call go from the indexer, the event leaves the seat
mesh-catalog's definition, its fixture and the generated contracts (the
seat's form rises to 6), and the builder neither hears it nor waits on it:
it reserves from its own reservations alone.

Builds: design 47 H2 H-A-552, H-A-532 (DQ-9, DMC-5), H §756, G §372
2026-11-23 12:26:20 +01:00
jschoubben 5b6a6a301b B4: an importer's build takes its package's version from the publisher at the key's origin
A package an import-form entry names with no version (a mover of the same
take-in publishes it) is filled from the reservation of the module that
publishes it at the source revision of the build key's own origin, once its
artifact is published, else from that module's release recorded at that
source revision; never from the newest version a registry seat said
published, so the importer is built against what its own pipeline
publishes. The released record keeps the release's source revision, since
the reservation goes at the release. The registry seat's versions read
before the wait and the newest-heard cache go with that fill.

Builds: design 47 H2 H-A-521, H-A-547 (3), H-A-551, H-A-532 (DMC-1)
2026-11-23 12:19:40 +01:00
jschoubben 23533893bb B2: the builder carries no imports on its done key or its build log
A build module says a module's import set as its build seat's event
imports-reported, which the indexer hears (design 47 H2 H-A-517, DQ-7): the
builder's done key and its build log's end entry no longer carry the imports
a build answered, so nothing reads another part's state for them.

Builds: design 47 H2 H-A-517, H-A-532 (DQ-7)
2026-11-23 11:56:02 +01:00
jschoubben 37e1f3c297 B3: the builder's dead readers of the indexer's packages state go
The builder reads package names from the catalog half's entries alone and never
the indexer's state (design 47 G §348): PackagesState, NamesIn, NamedModule,
Carriers and ModuleOf, which read that state and are wired nowhere, go; the
reservation's name test reads its carriers from the entries.

Builds: design 47 G §348, spec 25
2026-11-23 11:54:00 +01:00
jschoubben 6210384d3a B1b: the builder's numberer and its state versions go; builder_versions answers from the reservations
The numbering from before G goes (design 47 H §756, G §372): the builder keeps
no state versions, marks no numbered entry on a registry seat's word and arms
no numbered version's publish bound; the publishes' findings and the
reservations still hear the same events (DQ-11), and a reserved version's bound
is the reservation's (DQ-10). builder_versions keeps answering, from the
reservations alone (DMC-5): what the seat mesh-builds' reserved answers for a
name and, with a version and a digest, whether that version is reserved or
released with that digest.

Builds: design 47 H §756, G §372, G §381, H2 H-A-532 (DMC-5, DQ-10, DQ-11), spec 29, 41, 48
2026-11-23 11:53:05 +01:00
jschoubben 481d1f255b B1a: the builder's version floor and its wait go
The numbering from before G goes with its floor wait (design 47 H §756): the
builder asks no floor (seat git.tags, the registry seats' versions, the
entries' requirements), keeps no state floor-waits, serves neither
builder_floor_again nor builder_floor_waits, raises no floor-silent finding
and hears no take-in.taken or condition-cleared to wake one. The claim
numbering that asked the floor (Numberer.Number, build.Numbers) goes with it;
the reservation is the one place a version is numbered.

Builds: design 47 H §756, G §372, spec 29, 41, 47, 48
2026-11-23 11:48:06 +01:00
jschoubben a1a8e7cc34 Builder: hand each event to a worker of the name it carries
The builder handled its events consumer one event at a time, each registry
published and version-released taking seconds, so a pipeline's flood of them
held every later event. Each event now goes to the worker of the name it
carries, one name's events in order and the names side by side; the events
still waiting are said in progress at each end, with no timer.

Builds: design 47 H2 H-A-514 addendum and second addendum
2026-11-23 02:44:21 +01:00
jschoubben b337ee639e Builder: a publish asked again is judged from its record, never a backlog count
The builder held every publish asked again while its events consumer had a
hundred messages unheard; under a pipeline's flood of published events that
held the very publishes the build steps waited on. A duplicate is now judged
from the reservation's recorded publishes and the registries' record alone.

Builds: design 47 H2 H-A-514 addendum
2026-11-23 02:42:07 +01:00
jschoubben 8abe614271 Builder: a version-released no reservation holds is acknowledged at once
Each version-released listed the module's reservations, one to three seconds
on the serial events consumer, also for a version the builder no longer holds.
Its series' one key now says whether a reservation holds it; one none holds is
acknowledged with nothing listed.

Builds: design 47 H2 H-A-514 addendum
2026-11-23 02:41:14 +01:00
jschoubben 49bf651e32 Builder: say step-progress every minute while a build step builds or waits
A build step whose build waited for a package said nothing after ask-taken,
so the runner's bound of the ask ended it unanswered. The builder now says the
seat mesh-builds' step-progress of each ask it holds once a minute.

Builds: design 47 H2 H-A-514 addendum
2026-11-23 02:40:32 +01:00
jschoubben 131dfe71a7 Builder: each step ask is taken and said ask-taken on a worker of its own
The pull of the seat mesh-builds' work queue took each ask in its callback:
the drop read, the take in the state taken and the ask-taken publish of one
ask held every later ask's, so a slow state call delayed ask-taken past the
runner's bound. The pull now only holds the ask and starts its worker.

Builds: design 47 H2 H-A-514
2026-11-23 02:37:38 +01:00
jschoubben 167eded5f1 A revision read by its number that names a newer fingerprint ends superseded too
The fact is the same whichever check finds it: a kept catalog revision,
read below the picture or by its number, that names a newer fingerprint of
the module ends the step superseded at once, never failed and never sent
into the picture's wait.

Builds: design 47 H2 H-A-508 second addendum
2026-11-23 01:03:27 +01:00
jschoubben e76e49e6a3 A build step whose revision the picture passed ends superseded, not failed
The builder's check of a step's revision against its picture ran before
the judgement of the fingerprint and ended failed when the kept catalog
revision named a newer fingerprint of the module (main.338, 00:57). One
outcome for one fact: such a step ends superseded naming the superseding
fingerprint; failed stays for any other mismatch.

Builds: design 47 H2 H-A-508 second addendum
2026-11-23 01:00:31 +01:00
jschoubben a5a7afdfa4 builder: hold the after-the-wait superseded judgement with a withdrawn build
Review round 2: the subtest's build ended done, so the check after the wait
was not held. The build in flight is now withdrawn by the newer entry (the key
ends "withdrawn: … superseded by …", main.327's gate build), and the step
still ends superseded; without the check it ends failed.

Builds: design 47 H2 H-A-508 (and its addendum)
2026-11-23 00:33:45 +01:00
jschoubben 1a19c5c4c1 builder: judge the newest entry first for a build ended now too
Review round 1: a build a newer entry withdrew while it ran still ended the
step failed, and passedWithItsVersion judged supersession only after the
takeover and only when no version was held. Both now judge the branch's
newest entry first and end the step superseded; a release record that
cannot be read answers its error, never "not taken over".

Builds: design 47 H2 H-A-508 (and its addendum)
2026-11-23 00:27:52 +01:00