Repository navigation
Closed
Description
Incident evidence
Validated against origin/main at 2705844b9c061b060a26e09ffda4b22c1766a4db on 2026-07-13.
- Commit
1b5e2171deliberately madesoldr buildthe blessed Linux-to-Windows MSVC path. It documents that soldr installssoldr-clang-shim, sets target compiler environment, and delegates to cargo-xwin internally. - Commit
0bfd2715changed both blessed commands in.github/workflows/template_native_build.ymlto directcargo xwin buildwhile leaving the soldr-specific comments in place. - Commit
2705844bthen removed theaarch64-pc-windows-msvcrelease matrix entry instead of repairing the blessed path. - The policy test in
crates/fbuild-python/tests/pyo3_policy.rs(the blessed path originated in Meta: surgical sweep — soldr build native verb + win-arm64 via catalogue (6 PRs) forge-ci/soldr#1012 and ci: re-add aarch64-pc-windows-msvc lane via blessed soldr build (#1012 PR 6) #797) still requiresPYO3_NO_PYTHON=1 soldr build --release. It fails on Ubuntu, macOS, and Windows.
Root cause
This is not a request to wrap cargo-xwin as soldr cargo xwin build. The public, blessed cross-Windows entry point is soldr build; cargo-xwin remains an internal implementation detail. Bypassing that entry point skips the clang shim and soldr's target preparation.
The ARM lane removal is part of the regression. Merely replacing the x64 command would leave the intended six-target release matrix incomplete.
Implementation runbook
Do these steps in order:
- Start from current
main. Do not remove the existingversion: 0.8.8setup-soldr pin or the cargo-xwin installation step. - In
.github/workflows/template_native_build.yml, restore the application-binary Windows-MSVC branch to:soldr build --release --target ${{ inputs.target }} \ -p fbuild-cli \ -p fbuild-daemon - In the PyO3 Windows-MSVC branch in the same file, restore:
Preserve
PYO3_NO_PYTHON=1 soldr build --release \ --target-dir "${PYTHON_TARGET_DIR}" \ --target ${{ inputs.target }} -p fbuild-python \ --features extension-module
PYO3_NO_PYTHON=1, the separate target directory, and the extension feature exactly. - In
.github/workflows/release-auto.yml, re-add theaarch64-pc-windows-msvcmatrix row removed by2705844b. Copy the prior row from2705844b^; do not invent a native Windows runner workaround. - Strengthen
crates/fbuild-python/tests/pyo3_policy.rsso it checks all of these contracts:- both MSVC commands use the high-level
soldr buildentry point; - neither MSVC command invokes direct
cargo xwin build; - both
x86_64-pc-windows-msvcandaarch64-pc-windows-msvcremain in the release matrix; - every PyO3 cross branch retains
PYO3_NO_PYTHON=1.
- both MSVC commands use the high-level
- Keep the existing workflow comments explaining the clang shim. Update any wording that still implies a direct cargo-xwin invocation is the supported command.
Verification
While the temporary soldr outage is active, perform only the static review and let GitHub CI supply build evidence. Do not substitute bare cargo.
Static checks:
rg -n "soldr build|cargo xwin build|aarch64-pc-windows-msvc|x86_64-pc-windows-msvc" .github/workflows/template_native_build.yml .github/workflows/release-auto.yml crates/fbuild-python/tests/pyo3_policy.rs
git diff --checkWhen soldr is declared healthy, run:
uv run test -p fbuild-python -- pyo3_029_policy_stays_target_python_independentPR evidence required before closing:
- Check Ubuntu, Check macOS, and Check Windows pass.
- The next non-publishing validation of the reusable native-build workflow passes for x64 and ARM64 Windows MSVC.
- Do not manually trigger a production publish merely to test this issue. If the only end-to-end lane is Autonomous Release, keep the issue open until the next legitimate release proves both lanes.
Acceptance criteria
- Both Windows-MSVC branches invoke
soldr build, not direct cargo-xwin. - The ARM64 Windows release matrix row is restored.
- The policy test prevents both command and matrix regressions.
- The clang-shim rationale remains documented.
- A fresh legitimate Autonomous Release run completes both Linux-hosted Windows jobs and publishes both x64 and ARM64 Windows artifacts.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
[-]fix(ci): restore blessed soldr Windows cross-build path[/-][+]fix(ci): restore blessed soldr Windows cross-build path and ARM lane[/+]fix(ci): restore soldr Windows cross builds