Commit Graph
295 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 52fa062e92 H-A-494: the builder writes no git tag at a release and numbers from no tag
A Go package comes from the Go package registry alone, so a released version
is no longer written as a git tag: the release path and the start's take-in
of a released version call no seat git, and a reserve numbers a series from
the catalog's versions and the registries' only, never reading tags. A
reservation's kept tag field stays for records written before.

Builds: design 47 H2 H-A-494 (withdraws H-A-484's tag steps and H-A-493; design 51's fallback tag retired)
2026-11-22 20:56:51 +01:00
jschoubben cfd2afe39c H-A-492: the record's bound is a setting; a build key read error is said
Review round 1 (principle 11, configurable, never hard-coded): the bound of
the record of a version's digests is the builder's setting
record-bound-seconds (default 60), read from its file as revision-wait and
package-wait are, set on the Builder and used for the record. A build key
the builder cannot read, or that holds no build, is said in its journal
instead of being taken silently as not done (principle 3, failure is loud).

Builds: design 47 H2 H-A-492
2026-11-22 20:25:03 +01:00
jschoubben 21daeb8893 H-A-492: record a version's digests under the builder's own bound
A takeover or an end cancelling a build's context cancelled the record of its
reservation's digests eight times in a day, each leaving a passed build
unreleased. The record now runs under the builder's own bound (one minute,
not cancelled with the build), and a done build whose digests are not
recorded is recorded from its done key at the builder's next look and at its
start (before H-A-484's start check holds it against the released versions),
said each time.

Builds: design 47 H2 H-A-492
2026-11-22 20:17:14 +01:00
jschoubben db899d8ad4 H-A-487: a module's builds are read without every key's history
builder_build read every key's whole history to learn when its entry was
written, one more round trip per key of the module; on nats's hundreds of keys
the read crawled. Each entry's own write time now comes with the key's read,
the history is read only for the one key a fingerprint names when its entry
says no time, and a listing cut at the 20 newest says so in its note.

Builds: design 47 H2 H-A-487
2026-11-22 19:30:59 +01:00
jschoubben 5d3164b5b7 Builder: take a released version the catalog holds at the start; a refused tag waits the pause (H-A-484)
A version-released whose tag the seat git's holder refused was handed back at once,
spent its five deliveries in seconds and was dropped by the bus: its reservation stood
and its publish item asked again every 30 s for ever. At the start the builder now holds
every built, unreleased reservation against the catalog's verb versions and takes a
released one in as its version-released would (tag, release, bound and item ended,
findings cleared); a refused tag is handed back with the publish pause. The tag check
itself is the forge module's, already accepting a nested package path on the catalog's
trunk.

Builds: design 47 H2 H-A-484, H-A-484 addendum
2026-11-22 18:49:52 +01:00
jschoubben fd2cb13961 Publish queue: retire builder_publish_first, list in stream order (H-A-483)
With one consumer per holder an item has no class to move ahead of, so
builder_publish_first, its mode and its act go. The verb publish-queue
lists the items in stream order, the order the one consumer gives them,
and its description says so. A holder is a module name, so one ending in
-live or -again (an earlier release's class durable) is refused at the
learn, said, instead of having another holder's durable deleted.

Builds: design 47 H2 H-A-483 third addendum, §793
2026-11-22 18:28:55 +01:00
jschoubben 915a54f136 Publish queue: one pull consumer per holder (H-A-483)
The two class consumers (live, again) could not order live before again
under every scheduling: the idle-dispatch row failed on the build node
after four review rounds. One consumer per learnt holder (publishes-<holder>)
gives items in order; a failed send is handed back with its pause, so an
item put meanwhile goes first by construction. The builder retires the
holder's class durables of the earlier release before making the one,
since a work queue refuses overlapping filters; their unacknowledged items
reach the one consumer. The gap read, the held again items and the live
in-flight check go.

Builds: design 47 H2 H-A-483, its addendum and second addendum, §793
2026-11-22 18:20:06 +01:00