Commit Graph
4 Commits
Author SHA1 Message Date
jschoubben 089d98b406 node-tools: a stopping tool runner answers the typed fault stopping (H-A-542)
A call the runner does not take once its stop began was answered nothing, so its
caller's wait ended in a bare "timeout" and a build step's publish failed (main.440).
It is now answered with error-kind stopping beside its words, on a tool's reply and
a seat proof's alike; the calling runner keeps that kind and hands it to its bundle
as the JSON-RPC error's data, so mesh-sdk's stdio tells it by its kind. A call cut
at the drain bound stays unanswered (H-A-369).

Builds: design 47 H2 H-A-542 (amends H-A-369)
2026-11-23 11:43:19 +01:00
jschoubben 5cca1fceba Read drain-bound through the one settings reader, a duration text, 30 s by default
The runner reads its setting drain-bound as the node-engine composes it (MESH_CONFIG_DRAIN_BOUND)
with the SDK's duration reader, and stops before it serves on a value that is no duration.

Builds: design 47 H2 §813 (12), §781, H-A-369, H-A-370, H-A-377
2026-11-21 23:58:54 +01:00
jschoubben 858beb2b63 T2 amendment: a call after the stop began is answered nothing, never refused
A refusal would end the caller's kept call; left unanswered, the kept call paces and meets the new
runner. The ask made once the drain began ends Unanswered, so the bus sends its caller nothing.

Builds: design 47 H2 §813 (12), H-A-369
2026-11-21 23:57:07 +01:00
jschoubben f7269d9812 T2 drain at stop: finish the calls in flight within the drain bound, cut and say past it
Once told to stop, the tool runner makes no new ask of a bundle (a call after the stop is refused),
waits for the asks in flight within the drain bound (30 s by default), cuts each still in flight at
the bound with a journal line naming the bundle, the verb and the call's age, leaves its caller
unanswered (a transport fault), and only then stops its bundles itself.

Builds: design 47 H2 §813 (12), H-A-342 (2), H-A-353
2026-11-21 23:11:38 +01:00