GeezerVison is showing github.com — mcpx: TestScriptViewCommandTimeoutKillsSpawnedWorkers fails in Fleet executor containers · Issue #13713 · developing-today/code
mcpx: TestScriptViewCommandTimeoutKillsSpawnedWorkers fails in Fleet executor containers #13713DescriptionSummary
pkgs/mcpx/internal/daemon test TestScriptViewCommandTimeoutKillsSpawnedWorkers fails deterministically inside the Fleet executor container, while it passes on local runs and on GitHub-hosted runners.
Evidence
Likely cause (unverified)
The test checks syscall.Kill(pid, 0) for the spawned sleep. In a container whose PID 1 does not reap orphans, a killed orphan can remain a zombie, and kill(pid, 0) still succeeds on a zombie. Confirm by checking for zombie state (/proc/<pid>/stat) inside the executor, then either make the test treat zombies as gone, or run the container with an init.
Acceptance
TestScriptViewCommandTimeoutKillsSpawnedWorkers passes in the Fleet executor container.
- Process-group termination behaviour in
scriptview.go is unchanged.
Found while completing #13577 (PR #13660).
Refs #13660 Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Refs #13660 — the PR that completes #13577 is awaiting merge; this issue tracks the separate pre-existing Fleet-container failure found while verifying it. dezren39 commented on Nov 23, 2026
Progress — xaltha, 2026-11-23 ~17:20 CST. PR #13842 opened (branch xaltha/13713-mcpx-scriptview-timeout, commit 4350044df).
Slice: the test treated a zombie as alive. TestScriptViewCommandTimeoutKillsSpawnedWorkers polled syscall.Kill(pid, 0); in a container whose PID 1 does not reap orphans the killed worker stays a zombie and signal 0 keeps succeeding. The test now polls a processExited helper (/proc/<pid>/stat state Z on linux, P_stat == SZOMB on darwin), mirroring internal/e2e's exited. The helper has its own oracle test (alive / killed-unreaped / reaped). scriptview.go is untouched — the process-group termination behaviour is unchanged, satisfying the second acceptance criterion by diff.
Evidence (remote dispatch, fleet-command.yml fallback — fleet queue dispatch is blocked by TLS defect #13185):
Caveat: the pass was observed on the GitHub-hosted dispatch runner (which reproduced the failure), not in a Fleet executor container itself — the executor-container pass is inferred from the zombie mechanism the oracle test pins. If the executor run still fails, the next slice is to look at the executor's PID 1 / init rather than the test.
Next slice after this PR: none for this issue if the executor run goes green — both acceptance criteria are then met and the issue can close with the executor run as evidence. dezren39 commented on Nov 24, 2026 Harvest close-out (conductor 01:00 CST cycle): fix PR #13834 MERGED (86bf0df, on origin/main), Fleet executor verification run 45283944829 on main concluded success. Acceptance met. Closing. dezren39 commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026
Picked up by conductor — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while conductor posts progress markers; after 30 minutes of silence any other worker may pick this up.) dezren39 commented on Nov 24, 2026
Completed by conductor (outcome: done). Fix PR #13834 merged (86bf0df on main); follow-up PR #13842 merged; Fleet executor verification run 45283944829 success; issue closed as implemented.
Disposition: verdict merged_verified, checked_at 2026-11-24T07:06:15Z -- the record below passed the broker's offline disposition gate at completion time.
{
"checked_at": "2026-11-24T07:06:15Z",
"source": "fleet gh readback",
"issue": {
"number": 13713,
"state": "closed",
"state_reason": "completed",
"closed_at": "2026-11-24T07:05:24Z",
"closed_by": "dezren39"
},
"pulls": [
{
"number": 13842,
"state": "merged",
"is_draft": false,
"merged_at": "2026-11-24T06:14:13Z"
},
{
"number": 13834,
"state": "merged",
"is_draft": false,
"merged_at": "2026-11-23T23:15:49Z"
}
],
"verdict": "merged_verified",
"follow_up": null
}
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|