Skip to content

Commit 24d9a27

Browse files
CI: macos-x86_64 smoke is continue-on-error + 30 min timeout
GitHub's macos-13 (Intel) hosted runners are in chronic short supply. The smoke-install job for the macos-x86_64 wheel can sit queued for an hour or more before being picked up, which has been stalling Wheels (003) runs even though every wheel built cleanly and publish-release ran 1 minute in. Two safety nets: - `continue-on-error: true` on the macos-x86_64 matrix row so a failed / stalled smoke does not mark the whole run failed. - `timeout-minutes: 30` so a row that never gets a runner is eventually cancelled by GitHub instead of sitting indefinitely. The macos-x86_64 BUILD step still runs on the arm64 macos-latest via maturin cross-compile and stays a hard gate; only the on-host install verification is best-effort.
1 parent cfc575f commit 24d9a27

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/wheels.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,24 @@ jobs:
116116
name: Wheel smoke (${{ matrix.platform }})
117117
needs: [linux-x86_64, macos-arm64, macos-x86_64, windows-x86_64]
118118
runs-on: ${{ matrix.runs-on }}
119+
# macos-13 (Intel) runners are in chronic short supply on
120+
# hosted GitHub Actions and frequently sit queued > 1 h before
121+
# being picked up. The build for macos-x86_64 succeeds via
122+
# cross-compile on the arm64 macos-latest, so the smoke-install
123+
# on Intel is purely a sanity check. Letting it continue-on-error
124+
# at the matrix level means a stalled Intel runner does not stall
125+
# the whole run; pair this with the 30-minute job timeout so the
126+
# row eventually completes even when the runner never materialises.
127+
continue-on-error: ${{ matrix.platform == 'macos-x86_64' }}
128+
timeout-minutes: 30
119129
strategy:
120130
fail-fast: false
121131
matrix:
122132
include:
123133
- platform: linux-x86_64
124134
runs-on: ubuntu-latest
125135
- platform: macos-arm64
126-
# macos-latest now defaults to arm64 (M-series).
136+
# macos-latest defaults to arm64 (M-series).
127137
runs-on: macos-latest
128138
- platform: macos-x86_64
129139
# macos-13 is the last Intel runner GitHub provides; an

0 commit comments

Comments
 (0)