Skip to content

ci: pin Bun to 1.3.11 to fix codesign regression#122

Merged
kjiang-ac merged 1 commit intomainfrom
pin-bun-1.3.11
Apr 10, 2026
Merged

ci: pin Bun to 1.3.11 to fix codesign regression#122
kjiang-ac merged 1 commit intomainfrom
pin-bun-1.3.11

Conversation

@kjiang-ac
Copy link
Copy Markdown
Contributor

@kjiang-ac kjiang-ac commented Apr 10, 2026

Summary

Pins Bun to version 1.3.11 in the bun-compile workflow to fix the codesign failure on darwin-arm64 binaries.

Problem

Starting with run #104, the "Sign binary" step consistently fails on darwin-arm64 with:

auggie-darwin-arm64: invalid or unsupported format for signature

The workflow file had not changed — the breakage was caused by Bun v1.3.12 (released April 9, 2026) being picked up automatically by oven-sh/setup-bun@v2. The previous run (#103) succeeded with Bun 1.3.11 just hours earlier.

Bun 1.3.12 includes a large JSC engine upgrade (1,650+ commits) and changes to standalone executable embedding that appear to have regressed the Mach-O layout of bun build --compile --target=bun-darwin-arm64 output, making it unsignable by codesign.

Fix

Pin oven-sh/setup-bun@v2 to bun-version: "1.3.11" so the workflow uses a known-good Bun version.

Verification

Manually triggered the workflow from this branch with version 0.24.0-prerelease.5 (the same version that failed on main) — all jobs passed, including darwin-arm64 codesign and notarization.

@kjiang-ac kjiang-ac marked this pull request as ready for review April 10, 2026 18:28
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Copy link
Copy Markdown
Contributor

@augment-app-staging augment-app-staging bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Triage 🛡️ · Low Risk

✅ Approved — Low-Risk Change

Justification

This PR adds exactly 2 lines to a CI workflow file (.github/workflows/bun-compile.yml) to pin oven-sh/setup-bun@v2 to bun-version: "1.3.11". No source code, tests, or runtime behavior are affected. The change is a straightforward version pin to work around a known upstream regression in Bun 1.3.12's Mach-O output that broke codesign on darwin-arm64. The author verified the fix by manually triggering the workflow on this branch.

👍 / 👎 Was this triage helpful? React to this comment with your feedback.

@kjiang-ac kjiang-ac merged commit e327605 into main Apr 10, 2026
7 checks passed
@kjiang-ac kjiang-ac deleted the pin-bun-1.3.11 branch April 10, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant