Review round 2: the row for a stopping tool runner built its fault itself, so
requestAsk's reading of error-kind went untested. The reading of a reply (result,
error, error-kind, held) is now readReply, and the kept-call table reads the
runner's raw reply {"error": ..., "error-kind": "stopping"} through it.
Builds: design 47 H2 H-A-549 (1)
Review round 1: the bound of asking again while the tool runner is stopping is the
setting ask-bound (default 60 s), and the pause and the clock are askPacing, which
the test replaces as the Go test does pause and askNow, so nothing sleeps. Rows
added: past the bound the fault is the caller's, a bare timeout stays a failure.
Builds: design 47 H2 H-A-542, H-A-544, H-A-549
Review round 1: the process caller read only a reply's error, so a kept call
(CallKept, e.g. seat:git.trees) ended at once on stopping instead of pacing until
the new runner answers. requestAsk now reads error-kind stopping as
busretry.Stopping, which busretry.Fault counts as a transport fault, as away. The
Go stdio Ask's 60 s bound becomes the setting ask-bound (default 60 s), read by
the settings reader.
Builds: design 47 H2 H-A-542, H-A-549
As in the Go stdio: the runtime's answer names its typed fault in the error's data
error-kind, kept on the error as errorKind (isStopping); a broker request (mesh/ask)
met by stopping is asked again after a pause at the kept-call pace (the settings
kept-call-pace-first and -max, 1 s doubling to 30 s by default) until the new
runner answers or 60 s end, then the fault is the caller's. A plain refusal is
never asked again; a TypeScript bundle (the forge, the registries' holder) meets a
restarting runner as a Go one does.
Builds: design 47 H2 H-A-542, H-A-544
A call a stopping tool runner did not take reached a bundle as a bare words error,
or, before the runner said so, as a "timeout", so a build step's publish failed
when the runner restarted (main.440). The runtime's answer now names its typed
fault (the error's data error-kind); stdio keeps it (ErrStopping, ErrorKind), and
Ask asks again after a pause at the kept-call pace until the new runner answers or
Ask's own bound ends, then hands the caller ErrStopping. A plain refusal and a bare
timeout are never asked again.
Builds: design 47 H2 H-A-542