Commit Graph
3257 Commits
Author SHA1 Message Date
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
jschoubben b7b3891a4a T1 indexer: blank only a mover's entry (issue 1984)
The take-in blanked a package's pin in every import-form entry, the
node-engine's among them though it was no mover, and nothing filled it:
every composition of main.506 could not run. A module that is no mover
of the take-in keeps its pins, since no step of that pipeline builds it.

Tests: TestMoversOf gains the subcase "an import-form importer that is no
mover keeps its pin of a package a mover publishes" (1984/AC7); I12's
subcase is kept as 1984/AC8. TestASourceRevisionMovingMeshSDKNamesItAndItsImporters
(integration) asserted the old blank for importer at m3's take-in, where
the take-in makes importer no mover (its fingerprint does not move,
noted on issue 1984 as note 24); its assertion now follows H-A-628 (1):
blank where importer is a mover of that take-in, its pin kept where not.

Builds: design 47 H2 H-A-628 (1) (hq cea6404c); D1 H-A-532 DMC-1; D2 H-A-547 (2)
2026-11-23 21:55:02 +01:00
mesh-tools b1493ede79 Merge pull request '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) from fix/builder-record-digests into main 2026-11-23 18:34:53 +00: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 8e600d3a52 Merge mesh-delivery main a118976b into fix/builder-record-digests (issue 1984) 2026-11-23 18:40:24 +01:00
mesh-tools a118976bc0 Merge pull request 'Pipeline runner: a step's end ends only its step, read from the bus; a bound re-arms only while step ends still drain (issue 1984)' (#359) from fix/runner-step-ends into main 2026-11-23 17:25:36 +00: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 e9673046cb Runner: read the bus, not a copy; arm a bound only while its count shrinks (issue 1984)
Review round 1. The store kept a running pipeline's mover-key values in
memory while its record stayed at the revision read, but the module's
own runner_unlogged_append writes through a store of its own: a read
between that store's record write and its mover-key writes kept old
values at the new revision, and the runner served `running` while the
bus held `passed`. The copy goes; each key is still read by its name,
none listed, with the trunk's check of the revisions read.

A bound passing while step ends wait now arms the bound again only while
their count (not yet delivered plus unacknowledged) shrank since the
bound before, kept as `waited` on the ask's mark beside `unread`: an end
the handler naks forever, which no delivery limit stops, ends the step
saying the count did not shrink. Every such why says only what is true
("its ask X is not known to be answered: ..."), and none raises
call-unanswered. The ask clock the start makes now reads the durable
itself, so the integration row fails when the start wires none; the
nudge's mutex is the hearer's own.

Builds: issue 1984 note 6 (1984/AC1, 1984/AC2), notes 7 (b), (c), 9 (d), 10 (e)
2026-11-23 18:07:56 +01:00
jschoubben 1a8b7c8591 Runner: a bound passing while step ends wait arms it again (issue 1984)
An ask's bound ended its step "not answered: its holder said nothing"
while the holder's end waited, untaken, in the runner's own step-ended
durable: the runner's queue was counted against the holder (issue 1984,
note 6). As a bound passes the runner now reads that durable once, its
consumer's not-yet-delivered and unacknowledged step ends: while any
wait, the step is not ended, its bound is armed again whole and the
journal says how many wait; with none waiting the step ends with the
why it had, the journal naming the count read. A read that fails arms
the bound once more, kept as `unread` on the ask's own mark in test-runs,
cleared by a read that succeeds; a second failed read in a row ends the
step saying the runner could not read its durable, and raises no
call-unanswered, whose words say the holder said nothing.

Builds: issue 1984 note 6 (1984/AC2), note 7 (a), (b), (c)
2026-11-23 18:02:01 +01:00
jschoubben 3fc9e194b9 Runner: a step's end only ends its step; the store lists no key (issue 1984)
The runner took the step ends one at a time at about 13 s each, because
each handler aged up to twenty step-log entries and checked the stores'
fill, and every read and write of a pipeline listed its mover keys
through a new consumer (issue 1984, note 6). The ageing and the fill
check now run as work of their own, nudged by the step ends: the ends
heard while a pass runs merge into one pass after it, and never two run
at once. The pipelines store reads each key by its name and keeps a
running pipeline's mover keys from its last read or write while the
record is still at that revision (every write of a mover key writes the
record too), so a step's end reads the record and writes the record and
its own mover key; a store after a restart, or a pipeline not running,
reads the keys its record names, never a listing.

Builds: issue 1984 note 6 (1984/AC1), ADR 0682 §11
2026-11-23 18:02:01 +01:00
mesh-tools 8bbe956102 Merge pull request 'mesh-delivery-builder: format step_test.go as gofmt writes it (issue 721)' (#358) from fix/builder-gofmt into main 2026-11-23 16:26:35 +00: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
mesh-tools 349fbc3a08 Merge pull request 'The pipeline runner reads its step log by sequence, opening no consumer (design 47 G §330; issue 1982)' (#357) from fix/steplog-read into main 2026-11-23 13:00:19 +00:00
jschoubben 0f7d9290e0 Read the step log by sequence, with no consumer per read
The runner's ageing read the step log through a new ordered consumer at
every retention of every step's end and never removed it: 604 consumers
in 11 minutes, each starting tens of thousands of entries back, ran the
bus at 196% CPU (issue 1982, note 16). The log is now read entry by
entry with the stream's own message get (next entry of the log's
subjects at or after the sequence, so deleted ones are passed over),
and each retention reads its oldest unaged entry alone first: while it
is not past the retention nothing after it is, so a step's end reads
one entry per retention, not twenty.

Builds: design 47 G §330
2026-11-23 13:57:47 +01:00
mesh-tools b79092cf97 Merge pull request 'Import fingerprint: a module moves only when a package it imports changes (issue 721, design 47 H2)' (#356) from fix/fp-imports into main 2026-11-23 12:22:42 +00:00
jschoubben d6e56d98f9 Merge remote-tracking branch 'origin/main' into fix/fp-imports 2026-11-23 13:19:00 +01:00
jschoubben e5a250d774 I6: a take-in moves another repository's importer by its import set, in either language
Review r1 finding 1: a module of another repository was recomputed only when
a pin's Go module path mapped to the moved repository, so a TypeScript
importer of @novox/mesh-sdk never moved on a mesh-sdk take-in. It now moves
when its reported import set holds a package the moved repository publishes
(the module graph's entries), or, with no set, when a pin names one.

Builds: design 47 H2 H-A-520, H-A-523, H-A-528, H-A-539
2026-11-23 13:17:15 +01:00
jschoubben 3945640247 I12: the indexer's whole test proves a take-in's revision names a moved package with no version
Review r1 finding 2: removing the take-in's unpinnedByMovers failed no test.
I10 now takes mesh-sdk in again after its releases and reads the take-in's
revision: the import-form importer names mesh-sdk with no version, legacy
(the version line) keeps its pin.

Builds: design 47 H2 H-A-532 (DMC-1), H-A-547 (2), H-A-521
2026-11-23 13:15:17 +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
mesh-tools 6ce2e0a652 Merge pull request 'A build is superseded only by a newer revision's entry (design 47 H2, H-A-555, H-A-557, H-A-561..H-A-563)' (#355) from fix/supersede-newer into main 2026-11-23 11:51:25 +00:00
jschoubben 71648fbe9e mesh-delivery-pipeline: the pipeline's own revision moves the mover out; a revision wait is said (H-A-563)
Only a superseded end naming a revision older than the pipeline's is
asked again; one naming the pipeline's own revision (the builder's
kept-revision path) moves the mover out as H-A-508 has it, so no re-ask
can loop. A build that starts waiting on the revision view says
wait-held, on: revision view, and wait-ended when the view's move ends
it, as the operator's wait does.

Builds: design 47 H2 H-A-563
2026-11-23 12:50:08 +01:00
jschoubben fb3f186aed mesh-delivery-pipeline: judge a superseded build by the revision its end names (H-A-561, H-A-562)
A build ended superseded is judged by the module graph revision its end
names of the entry that superseded it, never by the order entries were
heard in: none (a builder before H-A-561) moves the mover out as before;
one not newer than the pipeline's own is asked again at once; one newer
the runner's view does not hold yet keeps the step waiting on the
revision view, its revision in the pipeline's value, and each move of
the view judges such steps again, moving the mover out once it holds
the revision; one newer and held moves the mover out at once. No re-ask
can loop: the builder names the revision it judged by.

Builds: design 47 H2 H-A-555, H-A-561, H-A-562
2026-11-23 12:44:19 +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 68a629d380 Seats mesh-builds and mesh-pipeline-runner: a superseded end names its revision, a held step keeps it (H-A-561, H-A-562)
The seat mesh-builds' step-ended gains revision: for a step ended
superseded, the module graph revision of the entry that superseded it,
so the runner judges it without the order entries are heard in (form 3).
The seat mesh-pipeline-runner's step gains revision: for a step waiting
on the revision view, the revision it waits for, kept in the pipeline's
value (form 12). Regenerated, with a fixture of each.

Builds: design 47 H2 H-A-561, H-A-562
2026-11-23 12:37:57 +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 9a705d69b5 Merge remote-tracking branch 'origin/main' into fix/fp-imports 2026-11-23 12:33:10 +01:00
jschoubben 0689f69ea7 I13b: the fill's call-unanswered of builder_versions is retired
The versions fill went, so nothing raises or clears its
indexer-call-unanswered of builder_versions any more: the indexer's writer
clears that id once at its start, the kind staying raised for its other
calls.

Builds: design 47 H2 H-A-558 (3), H-A-552
2026-11-23 12:33:04 +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 c59b83692d I13c: the state build-edges and the branch-build keys go with outdated
Only outdated read the edges a build of another watched branch kept in the
indexer's state build-edges and the heard keys branch-build.<module>.<branch>:
the state leaves the seat mesh-catalog's definition (its def BuildEdges and
fixture, the generated contracts) and the indexer's manifest, and the
writes, the prune at registration-changed and their test go.

Builds: design 47 H2 H-A-559, H-A-558 (1), H-A-548
2026-11-23 12:31:36 +01:00
jschoubben 1df7a964fc mesh-delivery-pipeline: a mover leaves only for a newer revision's entry (H-A-555, H-A-557)
main.453 ended every build step superseded and moved its movers out for
the newer revision's pipeline, though the superseding entry was of source
140, older than its own: no pipeline delivered them. The runner now reads
its own view of the branch's catalog half when a build ends superseded:
the mover leaves only when that revision is newer than the pipeline's and
names another fingerprint of it. Otherwise the end is passed over, said in
the journal, and the build is asked again at once under a new ask, as a
declined step is; the builder's revision wait holds it.

Builds: design 47 H2 H-A-555, H-A-557
2026-11-23 12:30:19 +01:00
jschoubben c219bfbd0d I13c: outdated goes, with what only it read
The verb outdated leaves the seat mesh-catalog's definition (its def
Outdated, its fixtures, the generated Go and TypeScript, under the form 6
this change raised), the indexer's claim, its tool and its answer, the
answer of other branches' builds with it. The indexer's hearings of
toolchain-agreed and wait-ended, whose state heard keys only outdated read,
go with their consumes in its manifest.

Builds: design 47 H2 H-A-548, H-A-558 (1), H-A-532 (DQ-9), H §747
2026-11-23 12:29:50 +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 d0de4a7497 I14: the release's pins record an npm package's version as they do a Go one's
An npm import of another repository enters an entry's packages as a Go one
does (H-A-546 (3)), but the pins matched only a series' Go module path, so
an npm pin stayed empty and the builder waited out its bound. A series now
pins by its Go module path, or by its package name when it has none.

Builds: design 47 H2 H-A-553 (1), H-A-546 (3)
2026-11-23 12:20:34 +01:00