Design 47 H2: H-A-774 (3)-(4), a stalled engine ends with a status the launcher starts again uncounted; the bound end-bound

This commit is contained in:
2026-11-26 20:16:34 +01:00
parent 1d23aed27f
commit 5483e0e306
@@ -1103,3 +1103,13 @@ mesh-delivery 3b1f03ce, mesh-tools 393449e, mesh-catalog 17e1bfb6 and mesh-sdk b
waits on a lock another goroutine holds while it asks a manifest fails today within its bound and passes with (1); a
guard test that fails when an environment or manifest callback is made with the composer's lock or the haves lock
held; a test that a stop past its bound says its line, writes the stacks and ends.
(3) (20:17, on develop's questions) The node-engine ends past the bound of (2) with an exit status of its own that the
launcher reads as "start again, not counted", on trial and after; a trial's own bound (600 s, kept across restarts)
still rolls back a version that never reports, so a build that stalls at every start is not kept (principles 3 and 7).
The launcher's change and its row in launch_test.sh are part of this fix. (4) The bound is one setting, `end-bound`, a
number of seconds, minimum 1, default 60, in the form of `compose-ask-bound` (a config entry and the file
/var/lib/mesh-host/end-bound, read at the engine's start), counted from a run's end or the stop's signal, under the
launcher's 75 s stop grace; it is not named `stop-bound`, so that it is not read as the stop's wait for an apply in
flight (principles 11 and 8). A fact beside it: the packaged unit says TimeoutStopSec=120, but g14's installed unit has
no such line (its stop waited the service manager's 90 s on 26 Nov); the installed unit differs from the packaged one,
noted on issue 1984, not part of this fix.