Skip to content

fix: serialize process-lifecycle tests - #19

Merged
cxymds merged 1 commit into
mainfrom
codex/fix-macos-process-test-race
Sep 17, 2026
Merged

cxymds merged 1 commit into
mainfrom
codex/fix-macos-process-test-race

Conversation

@cxymds

@cxymds cxymds commented Sep 17, 2026

Copy link
Copy Markdown
Member

Summary

  • CI on main after merging Extend CSP connect-src ipc list #18 failed in Native tests (macos-latest), not because of the CSP change.
  • process::launch_and_terminate_stub_binary and rustfs_update::offline_install_then_launch_uses_the_committed_binary share the global RUSTFS_PROCESS and can kill each other when cargo runs tests in parallel.
  • Serialize those tests with a process-wide lock so the macOS native job stops flaking.

Test plan

  • cargo test -p rustfs-launcher --all-features --locked --lib launch
  • cargo clippy -p rustfs-launcher --all-targets --all-features -- -D warnings
  • GitHub Actions Native tests (macos-latest) on this PR

The macOS native job failed on main after the CSP merge because two tests share RUSTFS_PROCESS and can terminate each other when cargo runs them in parallel.
@cxymds
cxymds merged commit 553ec6e into main Sep 17, 2026
3 checks passed
@cxymds
cxymds deleted the codex/fix-macos-process-test-race branch September 17, 2026 05:18
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