Repository navigation
fix(tests): stop solver groups after isolated module exit - #2906
Merged
Mister-Meeseeks merged 2 commits intoOct 16, 2026
Merged
Mister-Meeseeks merged 2 commits into
Mister-Meeseeks merged 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stop ordinary POSIX child solvers after an isolated unittest module finishes, even when its leader has exited and its descendants have closed the capture pipes.
module reaches pipe EOF + stop its owned POSIX process group remove leader from active registry return the original status/outputThe production change is seven lines in
scripts/run_isolated_tests.py. Six real-process regression tests and the evidence note retain the reproducer, source hashes, commands, overlap and limitations. Cleanup denial cannot produce PASS. Windows behavior, mathematical inputs and the selected frontier are unchanged.Started from canonical main
b2024b853ae33de489756de8e4dde011dabebeaa, revision 5. Refreshed ontoa98b1ebcdd6f2fe25ffdd30cd7e753ebfe319797after PR2579 was incorporated; its completion receipts, cancellation handling and historical overlay are preserved. Credit Aaron Wang/navinor's scheduler, woklerx's assertion guard and ywz65's PR2625/2579 work. PR2377/2469 concern the separate registered-package runner.Canonical investigation and claim. The verifier-engineering card's scope change and fresh overlap coverage are recorded in the note.
Evidence
Merge Danger
Door: two-way.
Blast Radius: verifier.
Completed modules' background processes in their owned POSIX group are now killed deliberately. Modules must still await proof-relevant children and propagate their failures; cleanup is not evidence of successful verification. Detached groups, Windows orphan containment, macOS and hosted CI are unverified. The selected cold replay was not run, and no new kappa is claimed.