Repository navigation
build: serialize Corrosion Cargo preflights sharing one target directory - #1408
Merged
Merged
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
Fixes #1407. The release of the test-category consolidation hit Soldr's no-cache preflight lock error in two Windows x64 attempts: first
_cargo-build_obs_gpu_status_frontend, then_cargo-build_libobs_rust. Both Cargo rules shared the same build directory.Order the three Corrosion imports using its public
cargo-prebuild_<crate>andcargo-build_<crate>targets. Target dependencies cover MSBuild, Ninja and Make, including imports in different CMake directories. Only Cargo commands are ordered; native compilation stays parallel. KeepSOLDR_RUSTC_WRAPPER=noneand all release/runtime gates.RED → GREEN
f53482d66:uv run --no-project python -m unittest ci/test_rust_cargo_build_order.pyfails withno-cache preflight: Cargo build lock is busyin second and third Cargo targets of an actual parallel CMake build../lintpassed (52.1s); the same invocation’s independent CMake/Python review is clean. Full native validation passed completely: Windows x64/ARM64, macOS x86_64/ARM64, Ubuntu and Flatpak app builds; native Rust tests, Clippy, and unchanged C compatibility tests against both C and Rust. PR CI is green. Merge queue is running.Release failure evidence: run 39109915393, initial job117623666276 and targeted retry117627161331. Both report Windows os error33. No further retries of this candidate.
No Rust implementation, C ABI, existing C tests, plugin pointers or workflow files change. This is build scheduling, so port tiers apply through normal CI rather than new behavioral port tests. There is no user-visible feature change.