Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP fix runBackground with -i/--no-server #4259

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Jan 6, 2025

This might have been the cause of a lot of flakiness that seems to have gone away with #4254, as the server exiting caused the runBackground calls to exit causing the http servers to exit and fail to pick up requests.

Might have been caused by com-lihaoyi/os-lib#324 which made destroyOnExit the default for spawned subprocesses. This PR explicitly disables destroyOnExit for the subprocesses where background = true

Covered by a new integration.invalidation test that runs under both server and fork, that previously failed when run under fork

@lihaoyi lihaoyi marked this pull request as ready for review January 6, 2025 23:01
@lihaoyi lihaoyi merged commit 42b3353 into com-lihaoyi:main Jan 7, 2025
24 of 26 checks passed
@lefou lefou added this to the 0.12.6 milestone Jan 7, 2025
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.

2 participants