Skip to content

test: terminate wheel test background jobs reliably#20

Merged
josephbirkner merged 9 commits into
mainfrom
fix/windows-wheel-cleanup
May 5, 2026
Merged

test: terminate wheel test background jobs reliably#20
josephbirkner merged 9 commits into
mainfrom
fix/windows-wheel-cleanup

Conversation

@josephbirkner
Copy link
Copy Markdown
Collaborator

Summary

  • run wheel test command strings via bash -lc
  • launch unix background tasks in their own process groups
  • terminate and wait for background job trees before removing the virtualenv

Why

The previous harness relied on an EXIT trap and killed only the top-level shell PID. In long-running background service tests that could leave child processes alive long enough to stall cleanup, especially on Windows/MSYS.

@josephbirkner josephbirkner merged commit 924fd2f into main May 5, 2026
22 checks passed
@josephbirkner josephbirkner deleted the fix/windows-wheel-cleanup branch May 5, 2026 08:40
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