The builder takes each step ask on a worker of its own and says step-progress (design 47 H2, H-A-514) #348

Merged
mesh-tools merged 7 commits from fix/builder-events-backlog into main 2026-11-23 08:46:19 +00:00
7 Commits
Author SHA1 Message Date
jschoubben bda5a8f6ef Runner: the seat mesh-builds' step-progress arms its ask's bound again
A build step whose build waited for a package ended ask-unanswered after ten
minutes, since only mesh-wants' step-progress armed a bound again. The runner
now consumes and hears the seat mesh-builds' step-progress the same way.

Builds: design 47 H2 H-A-514 addendum
2026-11-23 02:45:23 +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 668ef8d467 Seat mesh-builds: step-progress, said while a build step builds or waits
The runner arms an ask's bound again at each step-progress, which only the
seat mesh-wants said: a build step whose build waits for a package said
nothing for the bound and ended ask-unanswered. The seat mesh-builds gains
step-progress, with the fields of mesh-wants', and its generated contract.

Builds: design 47 H2 H-A-514 addendum
2026-11-23 02:39:06 +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