mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

CI flake: TestRetire_LauncherKillReachesDescendants 'the killed launcher child was not reaped' on macos-15

Open Dumbris opened this issue 1 month ago • 0 comments

Seen on PR #1648 (Build Binaries macos-15 darwin/amd64, run 39004485680). The PR does not touch internal/upstream; the test file and the Unix launcher code are unchanged by the recent launcher PRs (#1629, #1632).

internal/upstream/core/retire_kill_test.go:123: after g.Retire() kills the launcher tree (the treeAlive Eventually passed), h.Done() did not close within 2 s; total test time 7.05 s. Locally, go test -race ./internal/upstream/core -run TestRetire_ -count=30 passes.

Likely the 2 s reap window is too tight on a loaded runner (the leader is kept unreaped while a group member runs, then reaped after the group dies). Either wait on a deterministic signal or widen the window, after confirming the reaper cannot actually stall.

Dumbris avatar Oct 17 '26 05:10 Dumbris