Skip to content

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

Closed

Description

@zackees

Summary

build-project.yaml's macos-build and windows-build jobs now fail on the first step that needs Rust:

soldr: The term 'soldr' is not recognized ...            (windows-2025-vs2026)
/Users/runner/work/_temp/...:1: command not found: soldr  (macos-26)
##[error]Process completed with exit code 1 / 127

Nothing installs soldr in those two jobs, so the Install the Rust toolchain 🦀 step added by #2650 (soldr rustup toolchain install, soldr rustup target add …) dies immediately and the OBS app is never built.

Evidence

Dispatched Scheduled run 40585658256 (head ab81a7b23, i.e. master c2af3f9c3 plus the obs-scripting -Wpedantic commits of #2696, which touch neither job):

Job Result Failing step
Build 🧱 / macOS 🍏 (x86_64) failure, exit 127 Install the Rust toolchain 🦀 — command not found: soldr
Build 🧱 / macOS 🍏 (arm64) failure same
Build 🧱 / Windows 🪟 (x64) failure, exit 1 Install the Rust toolchain 🦀 — The term 'soldr' is not recognized
Build 🧱 / Flatpak 📦 success (unaffected)

The 15:15 UTC release-gate run (40529110726) built both DMGs fine: it checked out b926b01c, which predates #2650 (merged 2026-10-27T15:16:03Z). So this is a regression from that commit, not a pre-existing failure.

PR CI cannot see it: PRs run no OBS app build, and Push builds no OBS app — only Scheduled, dispatch and the release gate do.

Cause

#2650 (79f0642de) replaced the bare rustup toolchain install / rustup target add in macos-build (build-project.yaml:378-384) and windows-build (:1403-1409) with soldr rustup …, but those two jobs have no zackees/setup-soldr step: the workflow's setup-soldr steps are all in the Rust test/lint jobs (:1693, :1865, :1919, :1969, :2014, :2201, :2610). Every other job that calls soldr sets it up first; these two do not.

ci/test_soldr_rustup.py (the RED test from #2650) only pins the text of the commands, so it passed while the jobs could not run them.

Proposed fix

Mirror release-rust.yaml:223-239, which is the app-build precedent: a Set Up soldr 🦀 step (zackees/setup-soldr@71e6b565…, version: 0.9.43, build-cache: false, save-cache-remote: ${{ github.ref == 'refs/heads/master' }}, shims: true, solo-toolchain-cache: false) before the cross-target step, then keep only the matrix-guarded soldr rustup target add x86_64-apple-darwin / aarch64-pc-windows-msvc (setup-soldr provisions the pinned toolchain itself, so soldr rustup toolchain install goes away).

RED: extend ci/test_soldr_rustup.py with a structural case — every job in build-project.yaml that invokes soldr <subcommand> must contain a zackees/setup-soldr step earlier in the same job — plus the absence of the now-redundant soldr rustup toolchain install. It fails on current master at macos-build/windows-build.

GREEN: the two setup-soldr steps and the trimmed target steps.

Verification: a dispatched Scheduled run on the branch, checking Build 🧱 / macOS 🍏 and Build 🧱 / Windows 🪟 (PR CI cannot run them).

Activity

  1. added
    infra
    on Oct 27, 2026
  2. zackees commented on Oct 27, 2026

    @zackees
    MemberAuthor

    Claiming: the macOS/Windows app-build soldr setup (#2699)

    1. RED: extend ci/test_soldr_rustup.py — every job in build-project.yaml that invokes a soldr subcommand must have a zackees/setup-soldr step earlier in that job; the two app-build jobs fail this on master. Also pin that the now-redundant soldr rustup toolchain install is gone.
    2. GREEN: add the Set Up soldr 🦀 step to macos-build and windows-build (shaped like release-rust.yaml's app-build job) and reduce the toolchain step to the matrix-guarded soldr rustup target add.
    3. Verify with a dispatched Scheduled on the branch — Build 🧱 / macOS 🍏 and Build 🧱 / Windows 🪟 are the only lanes that can see this — then hand the PR to the coordinator.

    One PR, first one today for this unit.

  3. added
    ready
    on Oct 27, 2026
  4. zackees commented on Oct 27, 2026

    @zackees
    MemberAuthor

    PR #2701 (draft): ci: Set Up soldr in the macOS and Windows app builds.

    • RED ed09fedb3: ci/test_soldr_rustup.py now fails any job that invokes a soldr subcommand without a zackees/setup-soldr step earlier in the same job (macos-build, windows-build on master), pins that setup-soldr is the only toolchain install, and test_rust_cache_policy's consumer count goes 8 -> 10. 4 cases fail on master.
    • GREEN c77693806: Set Up soldr 🦀 in both jobs, shaped like release-rust.yaml's app-build job; the toolchain step is now just the matrix-guarded soldr rustup target add. ./lint ok, the two ci/ suites ok.
    • Verification: dispatched Scheduled on the branch — run 40591042433. Build 🧱 / macOS 🍏 and Build 🧱 / Windows 🪟 decide it; PR CI cannot run them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions