Files
mesh-delivery/modules/mesh-delivery-contracts/go
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
..