Commit Graph
3293 Commits
Author SHA1 Message Date
jschoubben 602aeadec0 P3 carry-closed-groups, P4 take-in-carries: the movers a failed pipeline leaves go in closed groups, tied to a failed mover they await; a group joins the head's pipeline that waits or runs, said by mover-added; a take-in whose key is held adds its entries; a key names its carrier
Builds: design 47 H2 H-A-581, H-A-594 (1) (2) (3) (4), H-A-607 (2), H-A-609 (3), H-A-610, H-A-645, H-A-646, H-A-649
2026-11-25 18:04:24 +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 9b264704f9 P2 held-step-said: the held step keeps held-at; wait-held, wait-ended and stands carry the stalled-bound and clock-from = held-at
Builds: design 47 H2 H-A-599, H-A-736 (1), H-A-738 (2)
2026-11-25 17:35:37 +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 dd78f05b56 P8 publish-reaches-sharing-pipelines: a package-published marks every running pipeline of its branch that moves the module at its fingerprint
Builds: design 47 H2 H-A-707 (6)
2026-11-25 17:20:56 +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 8f36311d08 P1 superseded-needs-its-revision: a superseded end with no revision ends the step could-not-run; a passed-over end says step-started with rerun by the runner
Builds: design 47 H2 H-A-601, H-A-577 (3), H-A-583 (2), H-A-650
2026-11-25 17:20:00 +01:00
jschoubben b0d915f6d0 P9 show-names-its-page: show names only its page's movers, each row its fingerprint, version and tier, and the record's mover and step counts
Builds: design 47 H2 H-A-709 (1), H-A-730
2026-11-25 17:18:53 +01:00
jschoubben 2eccf99693 P11 started-names-what-is-read: pipeline-started's movers are StartedMover's fields alone
Builds: design 47 H2 H-A-709 (3)
2026-11-25 17:18:53 +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
mesh-tools 3b1f03ce5b Merge pull request 'mesh-grants: the tool runner may publish its own node's machine event of a held seat (design 08 sign-in-page §4a)' (#364) from feat/sign-in-page into main 2026-11-25 00:20:06 +00:00
jochen 0509270388 mesh-grants: test that node-uplink's machine event reaches no other node's membership or grant
Code review round 2: §4a says the grant and the membership cover the holder's own node's
subjects only. Add the negative row beside C-1's: a tool runner on node a, carrying networkmanager,
is neither listed for nor granted sign-in-asked.b. Passes already (onMachine substitutes the tool
runner's own node and nothing else), proving the fix does not overreach.

Builds: design 08 sign-in-page §4a
2026-11-25 01:13:51 +01:00
jochen ef8dd1207a mesh-grants: list the held seat's own-node machine event in the carried module's membership too
Code review round 1, C-1: granting the subject in the tool runner's NATS account (the previous
commit) is not enough, because the runtime's own mayPublish (node-tools/internal/bus/seat.go)
checks a module's membership (SeatTraffic.Publish), never the account permissions. SeatTrafficOf
leaves a held seat's machine event out of that list and defers to the held-seats' account grant,
which the membership check never reads. MembershipFor now lists it too, on the carried module's own
node alone. Golden file testdata/user-lists.json updated: the existing "pause" fixture (node-power's
machine event "paused") now also appears in its seat-traffic publish list.

Builds: design 08 sign-in-page C-1
2026-11-24 21:53:35 +01:00
jochen 501ff49abe mesh-grants: the tool runner publishes its own node's machine event of a seat a carried module holds
The grants part granted a held seat's events to the holder's own account only (nats.go "Seats it
holds"), so a module the tool runner carries (networkmanager's node-uplink, nftables'
node-packet-filter) had no way to say the machine's half of its own seat's events: SeatTrafficOf
explicitly leaves a machine event out of the tool runner's membership and defers to that rule,
which never runs for KindNodeTools. Grant it the same machineEvent-derived subject, for its own
node's machine only, mirroring step 3 of PermissionsFor's KindModule case.

Builds: design 08 sign-in-page DMC-1, Where
2026-11-24 21:24:42 +01:00
mesh-tools 3f1e4aea03 Merge pull request 'Pipeline runner: the test-run test waits on what it causes, never on a clock across a restart (issue 1984)' (#363) from fix/1984-testruns-flake into main 2026-11-24 01:36:59 +00:00
jschoubben b71bc6fbaf Runner: the test-run test waits on what it causes, never on a clock across a restart (issue 1984)
Test 109 (TestTestRunsAreAskedOncePerLevelAndMoveEveryReader) failed on a loaded build node and passed on the same
commit when it ran again. Test-only; no behaviour of the runner changes.

- The first start has a step bound of a minute, longer than the restart; the setting is rewritten to two seconds between
  stop() and start(), so the clock the first runner armed at the take cannot end the run before the restarted runner
  hears the first progress.
- start() waits for one more "take-ins: heard on the consumer" line than before it (takeInsHeardMore), where it matched
  the first start's line still in the shared buffer.
- An ask is read from the stream, and said taken, only once it is on the stream (askPut, waited for with waitFor): the run
  names its ask before the runner has written the ask key and put the ask, so the one read of the stream failed with
  "message not found", and an ask-taken heard before the ask key is written moves nothing (read at the silent-bound
  wait: the ask key was absent when the take was said), so the clock of the ask never began and the wait ran 60 s.
- The progress wait stops at once, naming the run, when the run has ended.

Builds: design 47 H2 H-A-637
2026-11-24 02:17:55 +01:00
mesh-tools b810407f50 Merge pull request 'Assigner: a pass past pass-stall-seconds says which phase it is in (issue 1984)' (#362) from fix/1984-pass-stall into main 2026-11-24 00:30:31 +00:00
jschoubben 3bc30b7284 assigner: label the pass-stall rows with acceptance 1984/AC13 (issue 1984, review round 1)
The subtest of the pass-stall rows in TestAPassWritesWantsWhileAKeepingIsBlocked
carries the label 1984/AC13 beside the design line it checks.

Builds: design 47 H2 H-A-635 (1984/AC13)
2026-11-24 01:28:54 +01:00
jschoubben 377a0c27db assigner: a pass past pass-stall-seconds says which phase it is in (issue 1984)
The assigner's pass names the phase it is in as each starts (the assignments
seat, the kept graph, the wants, the pass said, the puts, the node wants, the
backups and reverts), in the passer's own memory. A pass still running after
the new setting pass-stall-seconds (10 to 600, default 60, read from its file
as package-wait-minutes is) says once in the journal "the pass started at
<time> is in <phase> for <duration>", and again at each further bound until it
ends; a pass that ends within the bound says none, and the end line "the pass
took" stays as H-A-259 has it. A stall met 2026-11-23 left the journal silent
for six minutes with no way to tell where the pass stood.

Builds: design 47 H2 H-A-635 (on H-A-259)
2026-11-24 01:15:43 +01:00
mesh-tools 7b1756e59c Merge pull request 'Indexer and assigner: a take-in blanks only a mover's entry; a run's empty pin is filled from mesh-builds.published or waited for (issue 1984)' (#361) from fix/1984-empty-pin into main 2026-11-23 22:37:58 +00:00
jschoubben 773ba91222 assigner: at the put of a run that waited for a package its readers wait for a build node again (issue 1984, review round 1)
Once a run's wait for a package's publish ended and its run ask was put,
`waits` was deleted but its readers' newest wait-held still said they
waited for the package's publish, until ask-taken's wait-ended. Now the
start that deletes `waits` as it writes the run's program says its
readers' wait-held for a build node again, under their held id with
.put added, so the bus's duplicate window keeps it apart from the first;
the composition and the validate run alike.

Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: after
the put each machine's newest wait-held is for a build node under its
held id with .put; TestTheValidateStepRefusesAManifestProblemAndACycle,
revision 14: the reader is said waiting for mesh-sdk's publish, then for
a build node again at the put. Both failed first without the say at the
put.

Builds: design 47 H2 H-A-632 (hq c7f31726, f9be4ef0); H-A-630 (5) (hq 1cdfa6ff); H-A-629 (1), (2) (hq 8aa70271)
2026-11-23 23:19:56 +01:00
jschoubben 5884f8ed7b assigner: while a run waits for a package's publish its readers' wait-held names that package (issue 1984, review round 1)
A run waiting for a package's publish left its readers said waiting for
a build node (`on: build node`), though no ask was put. While the run's
value holds `waits`, waitOf now says the step waits for the publish of
that package (`on: publish of package <path>`, since the wait began),
naming the package and the entry, never a build node; the readers are
said so when the wait begins, under their held id with the package's
path added, so the bus's duplicate window keeps it apart from the first,
and a reader joining a waiting run is said so at its join.

Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: each
reader's wait-held names the publish of x/go and the node-engine's entry
(failed first, no such wait-held within 10 s, with waitOf ignoring
`waits`).

Builds: design 47 H2 H-A-630 (5) (hq 1cdfa6ff); H-A-631 (hq ee89b857); A-469y
2026-11-23 23:17:41 +01:00
jschoubben a46f14ba23 assigner: the words past a wait's bound name the package, the entry and the bound (issue 1984, review round 1)
A run past its wait's bound ended "package <path> has no published
version within <bound>", naming no entry, and two of its three paths
(the bound's expiry and the take-up at a start) read only the run's
value. The seat mesh-wants' CompositionRunWaits gains `entry`, the words
of the import-form entry the run is built from (such as "the
node-engine's entry src2:e1"), written with the package when the wait
begins; the waiting start's end, the expiry and the take-up all say
"package <path> has no published version within <bound>
(package-wait-minutes), named with no version in <entry>" from it. The
definition's form stays 3, raised by this fix; the Go and TypeScript
contracts regenerated by seatgen (seatgen -check passes).

Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows: the
waiting run's `waits` holds its entry; "past its bound" (the expiry) and
a new "past its bound at a take-up" (takeUpWaits) end saying package,
entry and bound (both failed first with no entry written);
TestTheCompositionStepComposesEachMachineThroughTheBuildSeat (whole,
embedded bus): the waiting run's entry, and the take-up's and the
expiry's words with it.

Builds: design 47 H2 H-A-630 (4) (hq 1cdfa6ff); H-A-631 (hq ee89b857); H-A-628 (3), (5) (hq cea6404c); H-A-629 (1) (hq 8aa70271); H2 §780
2026-11-23 23:14:57 +01:00
jschoubben dc2ddb871a assigner: a run's start and its wait run on the assigner's own context (issue 1984, review round 1)
The composition and validate runs were started on the context of the
step that started them, so a supersede or a drop of that step ended the
wait for a package's publish silently, while other steps share the run:
it then waited, woken by nothing, until its bound ended it "no published
version" though the package stood published. The start, its wait and
its run ask now run on the assigner's own context (compositionRun.own),
as the take-up's do.

Tests: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows gain
"superseded": a second step joins the waiting runs, the starting step's
context ends, the runs stay waiting with both readers, and at the
publish the second step reads them composed with the pin;
TestTheValidateStepRefusesAManifestProblemAndACycle, revision 14: the
validate run waiting for mesh-sdk's publish outlives its starting step
and ends passed after the publish. Both failed first (no end within
10 s) with the start on the step's context.

Builds: design 47 H2 H-A-630 (3) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c); H-A-629 (3) (hq 8aa70271)
2026-11-23 23:11:32 +01:00
jschoubben 051e104f1b assigner: each bind of the package-published consumer wakes every waiting run (issue 1984, review round 1)
The bind wake stood in main.go untested. It now sits beside the
consumer's handler in hearPublished, which registers both: each bind of
the assigner's consumer of package-published wakes every run waiting for
a package's publish to read published again, since an event said while
the consumer was not bound is never heard.

Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's rows gain
"bind": x/go published with no event heard, a bind of the consumer wakes
each waiting run, which reads it published and puts its run ask with the
pin (failed first, no end within 10 s, with the bind's hearer removed).

Builds: design 47 H2 H-A-630 (2) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c)
2026-11-23 23:06:56 +01:00
jschoubben 8a1605d283 assigner: a package-published wakes only the runs waiting for its artifact's package (issue 1984, review round 1)
Every package-published heard woke every run waiting for any package,
each asking mesh-builds' published again. Now the wake is kept per the
artifact of a package's publisher: the assigner's consumer reads the
heard event's artifact (hearPublished) and wakes only the runs whose
`waits` names the package that artifact publishes, as the runner's
hearPublished matches by artifact; a publish of another package wakes
none and asks no published. An event that does not read is journaled
and wakes none. Each bind of the consumer still wakes every waiting run
(heardBind).

Test: TestTheCompositionStepRunsOneAskPerMachine, the wait's row: a
package-published of y:go, handed to the consumer's handler while the
runs wait for x/go, leaves their wake standing and asks no published;
x:go's own then wakes them (failed first with the wake ignoring the
artifact).

Builds: design 47 H2 H-A-630 (1) (hq 1cdfa6ff); H-A-628 (3) (hq cea6404c); H-A-326
2026-11-23 23:05:51 +01:00
jschoubben 4bcc12d7b1 T3 assigner: a run waits for its package's publish, bounded, then could not run naming it (issue 1984)
T2 ended a composition or validate run at once when its entry named a
package whose publisher's build in the step's revision was not published
yet. Now the run waits: it reads mesh-builds' published first and again
at each package-published heard (and at each bind of the consumer); the
run's value names the package and the time its wait began in `waits`;
its bound bound.<run key> is armed for what is left of the new setting
package-wait-minutes (1 to 120, default 10). Past the bound the run ends
could not run, "package <path> has no published version within <bound>
(package-wait-minutes)", never the builder's words. `waits` and the
bound go when the run ask is put (an ask in the queue has no clock) or
the run ends. Every step reading the run says the phase fetch while it
holds `waits`, its journal naming the package, and run once none does.
At the assigner's start a run holding `waits` and no program ends past
its bound, or has its bound armed again for what is left and its whole
start run again. A run with no publisher still ends at once (principle 3).

The seat mesh-wants' CompositionRun gains `waits` {package, since}, its
form raised to 3 as a field added (§780, H-A-352 (3)); the Go and
TypeScript contracts regenerated by seatgen. The assigner consumes
mesh-builds.package-published.

Tests: TestTheCompositionStepRunsOneAskPerMachine (rows: the wait, its
`waits` and bound, the phase fetch then run, the pin after the publish
with `waits` and the bound gone at the put, past the bound) for 1984/AC9;
TestACompositionRunIsOneKeyPerCandidateAndMachine/settings;
TestManifest; TestTheCompositionStepComposesEachMachineThroughTheBuildSeat
extended (the wait and the publish event, a restart during the wait,
a run past its bound at the restart and one past it while running) for
1984/AC11.

Builds: design 47 H2 H-A-628 (3), (4), (5) (hq 8aa70271); H-A-629 (1), (2), (3) (hq 8aa70271); D4 H-A-192; D9 H-A-326, H-A-328; G §719, §720; H2 §780 with H-A-352 (3)
2026-11-23 22:35:43 +01:00
jschoubben 024c137b94 T2 assigner: an empty pin of a run's entry is filled from mesh-builds.published (issue 1984)
The composer's and the validator's run asks go straight to the Go build
seat, never through the builder, and pinsOfEntry dropped a pin the entry
names with no version, so the build module refused at once with words
that blame the builder. Now each empty pin is filled by asking the seat
mesh-builds' verb published of the package's publisher in the step's
catalog revision; the version it answers is the pin. No run ask is put
with a pin left out: a build not yet published, or a package no build of
the revision publishes, ends the run could not run naming the package and
the entry (the wait for the publish comes with T3).

The assigner requires the meshbuilds contract module and its manifest
invokes seat:mesh-builds.published (TestManifest holds it).

Tests: TestTheCompositionStepRunsOneAskPerMachine (its stand's revision
holds x's publisher; rows "not published" and "no publisher") for
1984/AC9; TestTheValidateStepRefusesAManifestProblemAndACycle, revision
13, for 1984/AC10.

Builds: design 47 H2 H-A-628 (2), (5) (hq cea6404c); D4 H-A-192; D5 H-A-204; D7 G §718, A-252, A-451; D8 H §745; D9 H-A-326, H-A-328
2026-11-23 22:00:31 +01:00