Skip to content

build: serialize Corrosion Cargo preflights sharing one target directory - #1408

Merged
zackees merged 2 commits into
masterfrom
fix/1407-cargo-build-lock
Oct 18, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/1407-cargo-build-lock

Conversation

@zackees

@zackees zackees commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

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> and cargo-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. Keep SOLDR_RUSTC_WRAPPER=none and all release/runtime gates.

RED → GREEN

  • RED f53482d66: uv run --no-project python -m unittest ci/test_rust_cargo_build_order.py fails with no-cache preflight: Cargo build lock is busy in second and third Cargo targets of an actual parallel CMake build.
  • GREEN: the fixture builds all three targets successfully; an independent native target must run while the first Cargo holds the simulated lock, or the fixture times out. Focused Cargo target/uv guard checks pass.
  • Full ./lint passed (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.

@zackees
zackees enabled auto-merge October 18, 2026 08:39
@zackees
zackees added this pull request to the merge queue Oct 18, 2026
Merged via the queue into master with commit fc4ccf6 Oct 18, 2026
53 checks passed
@zackees
zackees deleted the fix/1407-cargo-build-lock branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Windows x64 release build fails when soldr can't take the cargo build lock (parallel cargo rules)

1 participant