Skip to content

Fix descendant completion regression racing successful cleanup - #216

Merged
Vbitz merged 1 commit into
mainfrom
fix/sandbox-descendant-test-race
Oct 9, 2026
Merged

Vbitz merged 1 commit into
mainfrom
fix/sandbox-descendant-test-race

Conversation

@Vbitz

@Vbitz Vbitz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

The linux-arm64 CI job on #215 caught a test race: fast legacy-family cleanup correctly killed/reaped the escaped child before the parent test's Getpgid call.

Publish PID/process-group proof atomically inside the escaped child and let the fast fixture parent exit once that proof exists. The assertion no longer requires a successfully cleaned-up process to remain alive. No production behavior changes; non-fast cases still assert tracked-descendant termination and single mode still asserts survival.

Validation: completion regression repeated 20 times; full guestinit race suite passes.

@Vbitz
Vbitz added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 104620c Oct 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant