Skip to content

Commit 6b79d94

Browse files
jeromechooclaude
andcommitted
Drop Intel macOS from release matrix; add concurrency + build timeout
GitHub's Intel (macos-13) runners are being deprecated and their queue is unreliable, which blocked the v0.2.2 release. Ship macOS as Apple Silicon only; Linux keeps x86_64 + aarch64. Also add a concurrency group so re-pushing a tag cancels an in-flight run, and a 30m build timeout so a capacity-starved runner fails fast instead of hanging for 24h. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a0366be commit 6b79d94

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@ on:
1111
permissions:
1212
contents: write
1313

14+
# Re-pushing a tag (or re-dispatching) cancels an in-flight run for the same
15+
# ref so a stuck build can't pile up behind a newer attempt.
16+
concurrency:
17+
group: release-${{ github.ref }}
18+
cancel-in-progress: true
19+
1420
jobs:
1521
build:
1622
name: Build ${{ matrix.target_os }}-${{ matrix.arch }}
1723
runs-on: ${{ matrix.runner }}
24+
# Cap the wait so a capacity-starved runner fails this leg in minutes
25+
# instead of hanging the release for GitHub's 24h queue limit.
26+
timeout-minutes: 30
1827
strategy:
1928
fail-fast: false
2029
matrix:
@@ -28,9 +37,9 @@ jobs:
2837
- runner: ubuntu-22.04-arm
2938
target_os: linux
3039
arch: aarch64
31-
- runner: macos-13 # Intel
32-
target_os: darwin
33-
arch: x86_64
40+
# macOS is Apple Silicon only: GitHub's Intel (macos-13) runners are
41+
# being deprecated and their queue is unreliable. Intel-Mac users can
42+
# still `pip install diffbot-python`.
3443
- runner: macos-14 # Apple Silicon
3544
target_os: darwin
3645
arch: aarch64

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ This drops a `db` executable into `~/.local/bin` (ensure it is on your `PATH`).
204204

205205
### Standalone binary (no Python required)
206206

207-
Every release also ships a self-contained `db` binary for Linux and macOS (x86_64 and aarch64/arm64) — no Python install needed. The installer detects your platform, verifies the SHA256 checksum, and installs (or upgrades) `db` into `~/.local/bin`:
207+
Every release also ships a self-contained `db` binary for Linux (x86_64 and aarch64) and macOS (Apple Silicon) — no Python install needed. The installer detects your platform, verifies the SHA256 checksum, and installs (or upgrades) `db` into `~/.local/bin`:
208208

209209
```bash
210210
curl -fsSL https://raw.githubusercontent.com/diffbot/diffbot-python/main/install.sh | sh

0 commit comments

Comments
 (0)