Skip to content

ci: Set Up soldr in the macOS and Windows app builds (#2699) - #2701

Merged
zackees merged 2 commits into
masterfrom
fix/2699-app-build-soldr
Oct 27, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/2699-app-build-soldr

Conversation

@zackees

@zackees zackees commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Fixes #2699

The release-gating OBS app builds are red on master: macos-build and windows-build run soldr rustup toolchain install but nothing in either job installs soldr, so they die on the first Rust step (command not found: soldr on macOS, The term 'soldr' is not recognized on Windows) and no DMG/zip is built. #2650 (merged 15:16Z today) made that rewrite; the previous release-gate run at 15:15Z checked out the commit before it and built fine.

PR CI cannot see this — no PR path builds the OBS app, and Push builds none either. Only Scheduled/dispatch/the release gate do.

RED — ed09fedb3

ci/test_soldr_rustup.py only pinned the text of the commands, so it passed while the jobs could not run them. The new case walks build-project.yaml job by job:

  • every job that invokes a soldr subcommand must contain a zackees/setup-soldr step earlier in the same job;
  • macos-build and windows-build are named explicitly (they are the two jobs no PR lane can run);
  • soldr rustup toolchain install may not come back (setup-soldr provisions the pinned toolchain).

ci/test_rust_cache_policy.py's setup-soldr consumer count goes 8 -> 10 for the two steps the fix adds.

Against master's workflow, 4 cases fail:

AssertionError: Lists differ: ['macos-build', 'windows-build'] != []
AssertionError: Items in the first set but not the second: {'macos-build', 'windows-build'}
AssertionError: 'soldr rustup toolchain install' unexpectedly found in ...
AssertionError: 8 != 10 : Audit new setup-soldr consumers explicitly

GREEN — c77693806

Mirrors release-rust.yaml's app-build job (the existing precedent for an app build on these runners):

  • Set Up soldr 🦀 in both jobs: zackees/setup-soldr@71e6b565 (v0.9.88), verdict-scope: build-project (the repo pin), version: 0.9.43, build-cache: false, prebuild-deps-flags: --release (same cook as the tier-2 and release app jobs), save-cache-remote master-only, shims: true, solo-toolchain-cache: false.
  • The toolchain step becomes only the matrix-guarded cross-target add, as a normal step with if: instead of an inline shell test: Add the Rust x86_64 macOS target 🦀 (matrix.target == 'x86_64') and Add the Rust arm64 Windows target 🦀 (matrix.architecture == 'arm64').

Local checks

  • uv run python -m unittest ci.test_soldr_rustup ci.test_rust_cache_policy — 8 cases OK after the fix, 4 failing before it.
  • ./lint — == lane lint: ok (50.9s).
  • YAML parses; macos-build/windows-build step order is … Set Up soldr 🦀 → Add the Rust … target 🦀 → Build OBS Studio 🧱.

Scheduled verification — GREEN

workflow_dispatch of Scheduled Repository Actions on this branch (run 40591042433) built on all four app legs:

  • Build 🧱 / macOS 🍏 (arm64) — success
  • Build 🧱 / macOS 🍏 (x86_64) — success
  • Build 🧱 / Windows 🪟 (x64) — success
  • Build 🧱 / Windows 🪟 (arm64) — success

Each proceeds Set Up soldr 🦀 → Add the Rust … target 🦀 → Build OBS Studio 🧱. On run 40585658256 (branch infra/2695, before this fix) exactly these three lanes failed at command not found: soldr.

The other two red jobs in that dispatched run are inherited from master and unrelated to this diff: Ubuntu 🐧 (OBS-Studio-Rust) and Flatpak 📦 both die compiling shared/obs-scripting/*.c.h under -Werror=missing-prototypes (added tree-wide by #2678; #2696 exempted only -Wpedantic). CEF Chromium Support 🌐 fails by design while CEF 7871 lags Chrome's extended stable (#1864).

)

`test_soldr_rustup` only pinned the text of the `soldr rustup` commands, so
#2650 could move the toolchain step to soldr in `macos-build` and
`windows-build` without those jobs having a soldr to call: both app builds
then failed with `command not found: soldr` / `The term 'soldr' is not
recognized`.

The new case walks the workflow job by job and fails any job that invokes a
`soldr` subcommand without a `zackees/setup-soldr` step earlier in the same
job, and pins that setup-soldr (which provisions the pinned toolchain) is the
only place the toolchain is installed. `test_rust_cache_policy`'s consumer
count goes 8 -> 10 for the two setup-soldr steps the fix adds.

Fails on master at macos-build and windows-build.
Both jobs ran `soldr rustup toolchain install` with no soldr on PATH
(RUST-001/TOOL-001 rewrite in #2650), so the release-gating OBS app builds
died at that step and the DMG/zip were never built. Mirror release-rust.yaml's
app-build job: `zackees/setup-soldr` provisions the rust-toolchain.toml
toolchain (and cooks the workspace deps the app build compiles anyway), then
only the matrix-guarded cross-target `soldr rustup target add` remains.

Local: ./lint ok, ci/test_soldr_rustup.py + ci/test_rust_cache_policy.py ok.
@zackees

zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Dispatched Scheduled verification (run 40591042433) — first results:

  • Build 🧱 / Windows 🪟 (arm64): success, full app build. Set Up soldr 🦀 success → Add the Rust arm64 Windows target 🦀 success → Build OBS Studio 🧱 compiled and packaged. Before this PR the same job died at the toolchain step with The term 'soldr' is not recognized.
  • Build 🧱 / macOS 🍏 (x86_64), Build 🧱 / macOS 🍏 (arm64), Build 🧱 / Windows 🪟 (x64): still building, and past the step that used to kill them — Set Up soldr 🦀 success on all three, with the matrix guards behaving: the x86_64 macOS leg ran Add the Rust x86_64 macOS target 🦀, the arm64 macOS and x64 Windows legs skipped it.

Holding the draft until those three finish; this is a release-gating workflow change, so it stays mine through the merge rather than going to the coordinator at the queue.

@zackees

zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Scheduled verification — the two lanes this PR changes are green

Scheduled Repository Actions dispatched on this branch (workflow_dispatch, run 40591042433) is the only path that builds the OBS app. All four app-build legs that were red on infra/2695 now pass:

Job Result
Build 🧱 / macOS 🍏 (arm64) success
Build 🧱 / macOS 🍏 (x86_64) success
Build 🧱 / Windows 🪟 (x64) success
Build 🧱 / Windows 🪟 (arm64) success

That is the RED→GREEN this fixes: on run 40585658256 (branch infra/2695, before this fix) exactly these three lanes died at command not found: soldr / The term 'soldr' is not recognized; here each proceeds Set Up soldr 🦀 → Add the Rust … target 🦀 → Build OBS Studio 🧱 and produces the DMG/zip.

The other two red jobs in that run are inherited from master, not from this diff

CEF Chromium Support 🌐 fails by design while CEF 7871 lags Chrome's extended stable (#1864).

@zackees
zackees marked this pull request as ready for review October 27, 2026 22:20
@zackees
zackees added this pull request to the merge queue Oct 27, 2026
Merged via the queue into master with commit fc97f5f Oct 27, 2026
68 of 71 checks passed
@zackees
zackees deleted the fix/2699-app-build-soldr branch October 27, 2026 22:23
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.

infra: macOS and Windows app builds fail: 'soldr' is not installed before 'soldr rustup toolchain install' (#2650 regression)

1 participant