Assigner: a pass past pass-stall-seconds says which phase it is in (issue 1984) #362

Merged
mesh-tools merged 2 commits from fix/1984-pass-stall into main 2026-11-24 00:30:32 +00:00
Member

Issue 1984 (note 32): the assigner on one machine logged 'the pass took' every 20 s until 00:53:48 CET, then nothing for six minutes at near-zero CPU while every validate and composition step of a 70-mover pipeline waited; a read of its locks found no cycle and no tool takes a stuck process's stacks, so where it stood is not known. This makes the next stall name its phase.

Design line: design 47 H2 lead answer H-A-635 (hq design/47-H2-answers-60 92461488), on H-A-259.

  • 377a0c27: passstall.go (phase names, the setting reader, passWatch); pass.go names each of the seven phases as it starts; a pass still running after pass-stall-seconds (10 to 600, default 60; module.json file and env like package-wait-minutes) says once per bound 'the pass started at
  • 3bc30b72: the test's label 1984/AC13.

Quick vs thorough (quick-or-thorough): the quick fix, chosen now, makes the pass's stall readable; the thorough one, a goroutine dump of any stuck Go module (a verb of the node service manager that sends the signal a Go program dumps its goroutines on), is in the code milestone 'design 47 H2's corrections'.

Tests: subtest rows of TestAPassWritesWantsWhileAKeepingIsBlocked (a blocked phase is named, with a growing duration; none within the bound; each failed first with its part taken out), -race, the package's integration tests, the module's unit suite. No new top-level test. The manifest validator: run partly (mesh-judge, trunk vs change identical); the merge's validate step judges it live.

Delivered first by hot deploy #26 (the assigner on ace from 3bc30b72), so a stall during this merge's pipeline, which carries main.511's 70 unfinished movers, names its phase.

Reviewed-by: mesh-code-reviewer@shanks (for lead-47@shanks) at 3bc30b7284

Issue 1984 (note 32): the assigner on one machine logged 'the pass took' every 20 s until 00:53:48 CET, then nothing for six minutes at near-zero CPU while every validate and composition step of a 70-mover pipeline waited; a read of its locks found no cycle and no tool takes a stuck process's stacks, so where it stood is not known. This makes the next stall name its phase. Design line: design 47 H2 lead answer H-A-635 (hq design/47-H2-answers-60 92461488), on H-A-259. - 377a0c27: passstall.go (phase names, the setting reader, passWatch); pass.go names each of the seven phases as it starts; a pass still running after `pass-stall-seconds` (10 to 600, default 60; module.json file and env like package-wait-minutes) says once per bound 'the pass started at <time> is in <phase> for <duration>'; the end line stays. - 3bc30b72: the test's label 1984/AC13. Quick vs thorough (quick-or-thorough): the quick fix, chosen now, makes the pass's stall readable; the thorough one, a goroutine dump of any stuck Go module (a verb of the node service manager that sends the signal a Go program dumps its goroutines on), is in the code milestone 'design 47 H2's corrections'. Tests: subtest rows of TestAPassWritesWantsWhileAKeepingIsBlocked (a blocked phase is named, with a growing duration; none within the bound; each failed first with its part taken out), -race, the package's integration tests, the module's unit suite. No new top-level test. The manifest validator: run partly (mesh-judge, trunk vs change identical); the merge's validate step judges it live. Delivered first by hot deploy #26 (the assigner on ace from 3bc30b72), so a stall during this merge's pipeline, which carries main.511's 70 unfinished movers, names its phase. Reviewed-by: mesh-code-reviewer@shanks (for lead-47@shanks) at 3bc30b7284fd87c325b2e3c91453e64aaf6d1d1a
mesh-tools added 2 commits 2026-11-24 00:30:25 +00:00
The assigner's pass names the phase it is in as each starts (the assignments
seat, the kept graph, the wants, the pass said, the puts, the node wants, the
backups and reverts), in the passer's own memory. A pass still running after
the new setting pass-stall-seconds (10 to 600, default 60, read from its file
as package-wait-minutes is) says once in the journal "the pass started at
<time> is in <phase> for <duration>", and again at each further bound until it
ends; a pass that ends within the bound says none, and the end line "the pass
took" stays as H-A-259 has it. A stall met 2026-11-23 left the journal silent
for six minutes with no way to tell where the pass stood.

Builds: design 47 H2 H-A-635 (on H-A-259)
The subtest of the pass-stall rows in TestAPassWritesWantsWhileAKeepingIsBlocked
carries the label 1984/AC13 beside the design line it checks.

Builds: design 47 H2 H-A-635 (1984/AC13)
mesh-tools merged commit b810407f50 into main 2026-11-24 00:30:32 +00:00
mesh-tools deleted branch fix/1984-pass-stall 2026-11-24 00:30:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-delivery#362