Builds the tool runner's part of design 47 H2 H-A-570 (1) and mesh-tools' share of (3); amends §813 (12) as H-A-369 has it. Issue 721 note 17 (What exists today; 721/AC4 unit, 721/AC5 live).
At its stop the runner calls Conn.StopAnswering after launch.ShutDown and before launch.Drain: every tool, seat verb and seat proof subscription is drained and flushed; a later serve is refused (keepAnswering keeps a new subscription and re-checks the stop in one section under c.mu). A call made after the stop meets no responders, a transport fault every caller waits out (ADR 0664 §1, ADR 0668 §1); a call in flight is still answered.
#90's typed stopping answer is removed whole (error-kind, KindedError, ErrorKindStopping, errorAnswer); afterStop is Unanswered again.
Discovery ($SRV) and the seat list's event subscription stay up until close (not calls).
Tests (721/AC4): a call after the stop meets no responders, the call in flight is answered, a serve after or racing the stop is refused (rows fail first without the change); the whole test wants no responders while a 6 s call is in flight. vet, vet -tags integration, unit suite, integration tests of the touched packages; budget unchanged (161 unit, 9 integration).
Quick or thorough: quick = keep stopping and wait for the milestone; thorough here = remove the typed answer at its source, the runner. The callers' stopping reading in mesh-sdk and mesh-delivery goes with the milestone's H-A-570 change.
Bent rule (rules-are-weighed): H-A-570 (6)/H-A-614 merge mesh-tools in one call with the milestone's other H-A-570 parts. This branch merges alone, first, because five held take-ins are about to be taken in and no node-tools build answering stopping may be wanted (H-A-596); merging this first is the safe direction (no caller depends on stopping). H-A-570 (4) (ask-bound in node-tools' manifest) stays with the milestone.
Merged at once, without waiting for the pull request's check, by the operator's temporary rule until design 47 is delivered.
Reviewed-by: mesh-code-reviewer@shanks for lead-47@shanks at 5d87f7d375
Builds the tool runner's part of design 47 H2 H-A-570 (1) and mesh-tools' share of (3); amends §813 (12) as H-A-369 has it. Issue 721 note 17 (What exists today; 721/AC4 unit, 721/AC5 live).
- At its stop the runner calls `Conn.StopAnswering` after `launch.ShutDown` and before `launch.Drain`: every tool, seat verb and seat proof subscription is drained and flushed; a later serve is refused (`keepAnswering` keeps a new subscription and re-checks the stop in one section under c.mu). A call made after the stop meets no responders, a transport fault every caller waits out (ADR 0664 §1, ADR 0668 §1); a call in flight is still answered.
- #90's typed `stopping` answer is removed whole (error-kind, KindedError, ErrorKindStopping, errorAnswer); `afterStop` is Unanswered again.
- Discovery ($SRV) and the seat list's event subscription stay up until close (not calls).
Tests (721/AC4): a call after the stop meets no responders, the call in flight is answered, a serve after or racing the stop is refused (rows fail first without the change); the whole test wants no responders while a 6 s call is in flight. vet, vet -tags integration, unit suite, integration tests of the touched packages; budget unchanged (161 unit, 9 integration).
Quick or thorough: quick = keep `stopping` and wait for the milestone; thorough here = remove the typed answer at its source, the runner. The callers' `stopping` reading in mesh-sdk and mesh-delivery goes with the milestone's H-A-570 change.
Bent rule (rules-are-weighed): H-A-570 (6)/H-A-614 merge mesh-tools in one call with the milestone's other H-A-570 parts. This branch merges alone, first, because five held take-ins are about to be taken in and no node-tools build answering `stopping` may be wanted (H-A-596); merging this first is the safe direction (no caller depends on `stopping`). H-A-570 (4) (ask-bound in node-tools' manifest) stays with the milestone.
Merged at once, without waiting for the pull request's check, by the operator's temporary rule until design 47 is delivered.
Reviewed-by: mesh-code-reviewer@shanks for lead-47@shanks at 5d87f7d375556ae510fb135bbfc946d981644f14
The runner answered each call it did not take once its stop began with the typed fault
stopping (#90). Callers built before mesh-sdk read it as the callee's refusal and ended their
kept call, and no edge delivered the new answer after its readers. Now, once told to stop,
the runner first drains every subscription it answers calls on (a tool's, a seat verb's and
a seat proof's) and subscribes none again, then finishes the calls in flight within
drain-bound. A call made after the stop meets no responders at once, a transport fault every
caller of every mesh-sdk already waits out, until the new runner subscribes. A call that
still reached it is answered nothing, as H-A-369 has it. The typed answer goes whole: the
reply's error-kind, KindedError, ErrorKindStopping and the bundle's error data.
Tests: 721/AC4 in the bus (a call and a proof after the stop meet no responders within a
second, the call in flight is answered, a subject served after the stop is refused) and in
launch (a call that still reaches the runner gets no answer and no typed fault); the whole
test meets no responders while a call is still in flight, before the drain bound.
Builds: design 47 H2 H-A-570 (1), (3) (mesh-tools' part), amending §813 (12) as H-A-369 has it
A tool's or a proof's subscription made while the stop took its snapshot was registered
after it, so it stayed subscribed until the close and its callers waited out their bound
instead of meeting no responders (the review's probe: 4 of 2000 rounds). Now a new
answering subscription is kept, and the stop checked again, in one section under the lock
the stop takes its subscriptions down under; when the stop began meanwhile, it is drained
and the serve refused.
Tests: 721/AC4 rows in the bus (a tool's serve and a proof answerer each run the stop
between their subscription and its keeping, through a test hook, and are refused; their
callers meet no responders), failing without the locked check.
Builds: design 47 H2 H-A-570 (1)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Builds the tool runner's part of design 47 H2 H-A-570 (1) and mesh-tools' share of (3); amends §813 (12) as H-A-369 has it. Issue 721 note 17 (What exists today; 721/AC4 unit, 721/AC5 live).
Conn.StopAnsweringafterlaunch.ShutDownand beforelaunch.Drain: every tool, seat verb and seat proof subscription is drained and flushed; a later serve is refused (keepAnsweringkeeps a new subscription and re-checks the stop in one section under c.mu). A call made after the stop meets no responders, a transport fault every caller waits out (ADR 0664 §1, ADR 0668 §1); a call in flight is still answered.stoppinganswer is removed whole (error-kind, KindedError, ErrorKindStopping, errorAnswer);afterStopis Unanswered again.Tests (721/AC4): a call after the stop meets no responders, the call in flight is answered, a serve after or racing the stop is refused (rows fail first without the change); the whole test wants no responders while a 6 s call is in flight. vet, vet -tags integration, unit suite, integration tests of the touched packages; budget unchanged (161 unit, 9 integration).
Quick or thorough: quick = keep
stoppingand wait for the milestone; thorough here = remove the typed answer at its source, the runner. The callers'stoppingreading in mesh-sdk and mesh-delivery goes with the milestone's H-A-570 change.Bent rule (rules-are-weighed): H-A-570 (6)/H-A-614 merge mesh-tools in one call with the milestone's other H-A-570 parts. This branch merges alone, first, because five held take-ins are about to be taken in and no node-tools build answering
stoppingmay be wanted (H-A-596); merging this first is the safe direction (no caller depends onstopping). H-A-570 (4) (ask-bound in node-tools' manifest) stays with the milestone.Merged at once, without waiting for the pull request's check, by the operator's temporary rule until design 47 is delivered.
Reviewed-by: mesh-code-reviewer@shanks for lead-47@shanks at
5d87f7d375