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

Merged
mesh-tools merged 9 commits from fix/1984-empty-pin into main 2026-11-23 22:37:59 +00:00
Member

Issue 1984 (notes 22, 23, 26): every composition of a take-in whose movers publish a package the node-engine imports ended "could not run: no pin for ...", because the take-in blanked that package's pin in every import-form entry and the composition run handed the empty pin to the build module.

Design lines: design 47 H2 lead answers H-A-628 (1)-(5), H-A-629, H-A-630, H-A-631, H-A-632 (hq design/47-H2-answers-60 f9be4ef0).

  • T1 b7b3891a, indexer: the take-in blanks a package's pin only in a mover's entry (H-A-628 (1)).
  • T2 024c137b, assigner: an empty pin of a run's entry is filled from the seat mesh-builds' verb published (H-A-628 (2)).
  • T3 4bcc12d7, assigner: while not published, the run waits, woken by package-published, bounded by package-wait-minutes (1-120, default 10); the wait is kept in the run's value (waits, the seat mesh-wants' definition form 3) and taken up at a start; past the bound the run ends could not run naming the package (H-A-628 (3)-(5), H-A-629).
  • Round 1 fixes: 8a1605d2 (wake only that package's runs), 051e104f (each bind wakes waiting runs), dc2ddb87 (the wait on the assigner's own context), a46f14ba (waits names the entry; H-A-631), 5884f8ed (readers' wait-held names the package), 773ba912 (at the put, wait-held for a build node again; H-A-632).

Quick vs thorough (quick-or-thorough): the quick fix was a pipeline started again at the head after each publish; the thorough fix, chosen, removes the kind: no non-mover entry is blanked, and no run ask ever carries an empty pin (filled or waited for, loud past its bound).

Tests: assigner unit suite and integration tests against an embedded bus (the extended whole test TestTheCompositionStepComposesEachMachineThroughTheBuildSeat), indexer and meshwants suites, go vet in every importer of meshwants. No new top-level test. Not run: the manifest validator (no tool judges a manifest on request; weighed on issue 1984 note 26, the pipeline's validate step judges it).

Delivered first by hot deploys #23 (indexer on novox, 23:35:31) and #24 (assigner on ace, 23:36:02) built from this head, so this merge's own take-in does not blank the node-engine's entry.

Reviewed-by: mesh-code-reviewer@shanks (for lead-47@shanks) at 773ba91222

Issue 1984 (notes 22, 23, 26): every composition of a take-in whose movers publish a package the node-engine imports ended "could not run: no pin for ...", because the take-in blanked that package's pin in every import-form entry and the composition run handed the empty pin to the build module. Design lines: design 47 H2 lead answers H-A-628 (1)-(5), H-A-629, H-A-630, H-A-631, H-A-632 (hq design/47-H2-answers-60 f9be4ef0). - T1 b7b3891a, indexer: the take-in blanks a package's pin only in a mover's entry (H-A-628 (1)). - T2 024c137b, assigner: an empty pin of a run's entry is filled from the seat mesh-builds' verb `published` (H-A-628 (2)). - T3 4bcc12d7, assigner: while not published, the run waits, woken by `package-published`, bounded by `package-wait-minutes` (1-120, default 10); the wait is kept in the run's value (`waits`, the seat mesh-wants' definition form 3) and taken up at a start; past the bound the run ends could not run naming the package (H-A-628 (3)-(5), H-A-629). - Round 1 fixes: 8a1605d2 (wake only that package's runs), 051e104f (each bind wakes waiting runs), dc2ddb87 (the wait on the assigner's own context), a46f14ba (`waits` names the entry; H-A-631), 5884f8ed (readers' wait-held names the package), 773ba912 (at the put, wait-held for a build node again; H-A-632). Quick vs thorough (quick-or-thorough): the quick fix was a pipeline started again at the head after each publish; the thorough fix, chosen, removes the kind: no non-mover entry is blanked, and no run ask ever carries an empty pin (filled or waited for, loud past its bound). Tests: assigner unit suite and integration tests against an embedded bus (the extended whole test TestTheCompositionStepComposesEachMachineThroughTheBuildSeat), indexer and meshwants suites, go vet in every importer of meshwants. No new top-level test. Not run: the manifest validator (no tool judges a manifest on request; weighed on issue 1984 note 26, the pipeline's validate step judges it). Delivered first by hot deploys #23 (indexer on novox, 23:35:31) and #24 (assigner on ace, 23:36:02) built from this head, so this merge's own take-in does not blank the node-engine's entry. Reviewed-by: mesh-code-reviewer@shanks (for lead-47@shanks) at 773ba91222200d97422193cdff9ebaa9a81465fc
mesh-tools added 9 commits 2026-11-23 22:37:48 +00:00
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)
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
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)
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
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)
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)
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
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
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)
mesh-tools merged commit 7b1756e59c into main 2026-11-23 22:37:59 +00:00
mesh-tools deleted branch fix/1984-empty-pin 2026-11-23 22:38:00 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#361