Commit Graph
511 Commits
Author SHA1 Message Date
jschoubben 6f5eb7f2a7 B7/B8 events-whole: the publish again hears a node-engine running and two returned from the bus in the publishes test; two returns queue a version once while its send runs
Builds: design 47 H2 H-A-606 (AC-B7), H-A-620 (1) (AC-B8a)
2026-11-25 19:31:22 +01:00
jschoubben dd0cdf2f8e B10 other-bytes-step: the step settles both durables of the holder and asserts the item terminated, so it fails with sendVia's other-bytes branch out
Builds: design 47 H2 H-A-593 (5), H-A-729 (AC-B10)
2026-11-25 19:29:03 +01:00
jschoubben c41168ff34 B8/B9 publish-in-progress: an item is marked in progress at the kept call's pace while its call waits; a call not answered within the bound (publish-ack-minutes) leaves the item to be given again, never ended as failed; the constant UnreleasedBound leaves the send
Builds: design 47 H2 H-A-613 (3), H-A-613 (4), H-A-745
2026-11-25 19:28:19 +01:00
jschoubben d4f9fd013d B7/B8 again-class: an event's publish again always puts the class again, its message id ending in the event's stream sequence
Builds: design 47 H2 H-A-613 (1), H-A-620 (1)
2026-11-25 19:17:56 +01:00
jschoubben e328543706 B10 whole, B9 whole: a step of the publishes whole test with a registry holder on the bus: a publish met by no responders is called again, a refused one waits for the next running, two of three artifacts held for the fingerprint keep their digests and the third is stored, a record with no fingerprint withdraws the number and releases the next, other bytes end the item at once
Builds: design 47 H2 H-A-613 (4), H-A-620 (3), H-A-593 (5), H-A-588 to H-A-590, H-A-729; AC-B9, AC-B10
2026-11-25 18:54:21 +01:00
jschoubben a37d32d5e0 B18 whole: an entry of the same fingerprint taken in again at a later revision, naming the pin, builds the waiting importer once, with no published heard and no key failed
Builds: design 47 H2 H-A-707 (3), (4); AC-B18b (the builder's part)
2026-11-25 18:43:56 +01:00
jschoubben 070f62ceca H-A-749: the publish item records go with their readers; a drop made before is carried onto its reservation at the start
builder_publish_queue no longer lists publish items, the re-ask watch no longer reads mode publish, and at its start the builder carries each answered publish-drop ask onto its reservation as dropped, then deletes each record of mode publish, saying the counts once.

Builds: design 47 H2 H-A-749 (1), (2), H-A-746
2026-11-25 18:37:09 +01:00
jschoubben ed846d58ab H-A-746: a publish dropped by hand is kept on its reservation as dropped (who, why, when), read as the version's standing
builder_publish_drop writes it by compare-and-set; NotStanding answers it, so an event, the item's take and the send pass it over; builder_publish_again clears it before its put. The re-ask state's publish item record of a drop goes.

Builds: design 47 H2 H-A-746 (B-Q2), H-A-613 (3), B8
2026-11-25 18:33:43 +01:00
jschoubben 48003b3f4f H-A-745: a send that cannot read the builder's own state is left and given again; only the holder's answer ends it
SendFate gains Unread: an unreadable reservation or catalog entry sends and says nothing, and take leaves the item unacknowledged for the ack wait, B11's tenth delivery ending it loud.

Builds: design 47 H2 H-A-745 (B-Q1), H-A-606, H-A-613 (4), H-A-653
2026-11-25 18:32:13 +01:00
jschoubben 3dc67f4dc8 B18 pin-from-newer-entry-or-publisher: a blank pin is the version a newer entry of the build's branch names, else the publisher's build in the build's revision (the published rule); the wait is held in the state waits and VersionAt goes
Builds: design 47 H2 H-A-707 (3), (4), (5)
2026-11-25 17:59:22 +01:00
jschoubben 697716ca48 B19 pin-wait-kept: a build key holds one wait, a Hold over another kind ends it as replaced and failed ends any kind; the wait gains publisher, revision and until, says package-wait-minutes as its bound; builder_stuck names a key's wait
Builds: design 47 H2 H-A-723, H-A-707 (5), H-A-717 (DQ-53)
2026-11-25 17:52:46 +01:00
jschoubben f77d6d76e1 B12 dispatch-rebinds: the publishes' dispatch takes the step queue's shape, a Consume bound again on the consumer's created and deleted advisories, so a pull error never ends it
Builds: design 47 H2 H-A-654, H-A-703
2026-11-25 17:51:21 +01:00
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