Skip to content

Conversation

kcieplak
Copy link
Contributor

Add an operation queue around execution of swiftPM process execution.

swift-testing based test will run all tests in parallel at the same time, causing each invocation to spawn a process which will then spawn many other subprocesses.

These leads to a process bomb and consumes all CPU and causes massive I/O blocking.

Add a limit to how many swiftPM top level processes at the same time.

Add an operation queue around execution of swiftPM process
execution.

swift-testing based test will run all tests in parallel
at the same time, causing each invocation to spawn a process
which will then spawn many other subprocesses.

These leads to a process bomb and consumes all CPU and causes
massive I/O blocking.

Add a limit to how many swiftPM top level processes at the same
time.
@kcieplak
Copy link
Contributor Author

@swift-ci test

@kcieplak
Copy link
Contributor Author

@swift-ci test windows

@kcieplak kcieplak marked this pull request as draft October 10, 2025 19:06
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