From b6130e72f3e4b360f7a3bf97ea62d0eeeb39ffca Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Thu, 8 Oct 2026 22:07:56 +0000 Subject: [PATCH] Make Bazel release jobs advisory (#52299) ## Why Parallel Bazel artifacts are advisory while Cargo remains the release path. ## What changed - Set `continue-on-error` for Bazel matrix jobs covering builds, Windows symbols and signing, and macOS signing, packaging, and verification. - Assign the main release build jobs in both workflows to the `bazel` environment with `deployment: false`. GitOrigin-RevId: e8a0fd522ec6482c0f39abdfc8677018be409361 --- .github/workflows/rust-release-windows.yml | 7 +++++++ .github/workflows/rust-release.yml | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.yml index 55f805fb5c..0f28688eee 100644 --- a/.github/workflows/rust-release-windows.yml +++ b/.github/workflows/rust-release-windows.yml @@ -9,7 +9,12 @@ env: jobs: build-windows-binaries: name: Build Windows binaries - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }} + # Parallel Bazel artifacts are advisory while Cargo remains the release path. + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ${{ matrix.runs_on }} + environment: + name: bazel + deployment: false # Temporary increase from 90 minutes while Cargo and Bazel build paths coexist. # Reassess after the transition using Bazel release build timings. timeout-minutes: 120 @@ -301,6 +306,7 @@ jobs: needs: - build-windows-binaries name: Build Windows symbols - ${{ matrix.target }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ubuntu-24.04 timeout-minutes: 15 permissions: @@ -361,6 +367,7 @@ jobs: - build-windows-binaries - build-windows-voice name: Build - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ${{ matrix.runs_on }} environment: name: azure-artifact-signing diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 17e1fc4c46..a0b461282f 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -59,7 +59,12 @@ jobs: build: needs: tag-check name: Build - ${{ matrix.runner }} - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }} + # Parallel Bazel artifacts are advisory while Cargo remains the release path. + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ${{ matrix.runner }} + environment: + name: bazel + deployment: false # Linux releases also build the native voice runtime in this job. timeout-minutes: 120 permissions: @@ -627,6 +632,7 @@ jobs: needs: [build, build-macos-voice] if: ${{ always() && needs.build.result == 'success' && needs.build-macos-voice.result == 'success' }} name: Sign macOS binaries - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ubuntu-latest timeout-minutes: 45 environment: @@ -872,6 +878,7 @@ jobs: package-macos: needs: sign-macos-binaries name: Package macOS artifacts - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: macos-15-xlarge timeout-minutes: 45 permissions: @@ -1155,6 +1162,7 @@ jobs: sign-macos-dmg: needs: package-macos name: Sign macOS DMG - ${{ matrix.target }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: ubuntu-latest timeout-minutes: 45 environment: @@ -1259,6 +1267,7 @@ jobs: - package-macos - sign-macos-dmg name: Verify macOS artifacts - ${{ matrix.target }} - ${{ matrix.bundle }} - ${{ matrix.build-system }} + continue-on-error: ${{ matrix.build-system == 'bazel' }} runs-on: macos-15-xlarge timeout-minutes: 30 permissions: