ci: pin bun to 1.3.14 for binary cross-compiles - #608
Merged
Conversation
bun 1.4.0 has no @oven/bun-darwin-aarch64 (or any other target package) published on npm, so `bun build --compile --target=...` fails to download the target executable and every `build` job on main goes red. Pin the two jobs that cross-compile — test.yml's build job and manual-publish.yml — to 1.3.14, the last version with all five target packages on npm. Other workflows stay on latest; they never cross-compile. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.1.10-pr.608.09b4b41Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.1.10-pr.608.09b4b41"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.1.10-pr.608.09b4b41"
}
}
Preview published to npm registry — try new features instantly! |
davidsu
enabled auto-merge (squash)
August 27, 2026 10:24
talge-a11y
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Description
The
buildjob on every open PR is failing because.github/workflows/test.ymlusedbun-version: latest, which moved from bun 1.3.14 to 1.4.0.bun build --compile --target=...fetches its target executables from npm, and the@oven/bun-*target packages have no 1.4.0 published (latest is 1.3.14), so every cross-compile dies withNetwork error downloading executable for 'bun-darwin-aarch64-v1.4.0'. This pins bun to an exact 1.3.14 in the only two jobs that cross-compile, restoring green CI and unblocking releases.Related Issue
Blocker for #607. Upstream cause is a bun publishing gap (
@oven/bun-darwin-aarch64and the other four target packages are missing 1.4.x on npm).Type of Change
Changes Made
.github/workflows/test.yml: pinoven-sh/setup-buntobun-version: 1.3.14in thebuildjob (the one that runsbun run build:binaries)..github/workflows/manual-publish.yml: same pin for the publish job, which runsbuild:binaries+package:binaries.@oven/bun-darwin-*publishes 1.4.x to npm).latest— lint, typecheck, knip, readme-check, preview-publish and wix-gateway-proxy-check never cross-compile, andtest.yml'stestjob consumes the uploadeddistartifact rather than building it.Testing
npm test)bun run buildpasses andbun run test:binaryreports 716 passed / 17 skipped across 71 files, so the pin fixes the compile without pushing the failure into the binary tests. No new tests — this is a workflow-configuration change with no code surface to cover.bun run build:binariesitself could not be validated locally (local bun is 1.3.8 and cross-target downloads fail withDEPTH_ZERO_SELF_SIGNED_CERTbehind the corp proxy); CI is the real check for that step.Checklist
Additional Notes
This is a temporary workaround for an upstream gap, not a permanent version policy — the workflows should return to
latestonce bun publishes 1.4.x target packages to npm. The five affected targets are the ones listed inpackages/cli/infra/build-binaries.ts:37-41. GitHub release assets for bun 1.4.0 do exist, butbun build --compiledoes not fetch from there, so they don't help. The Wix gateway proxy is not implicated; it only pinsregistry.npmjs.org.🤖 Generated by Claude | 2026-08-27 10:22 UTC | 0fef264