Skip to content

fix(build): unblock Release on bun 1.4.0 (cjs splitting + setup-repo bun pin) - #139

Merged
towanTG merged 1 commit into
developfrom
chore/release-build-bun-140
Aug 21, 2026
Merged

fix(build): unblock Release on bun 1.4.0 (cjs splitting + setup-repo bun pin)#139
towanTG merged 1 commit into
developfrom
chore/release-build-bun-140

Conversation

@towanTG

@towanTG towanTG commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The develop Release run (32512875438) failed in bun build:ci: bun 1.4.0 (current latest) hard-errors with "Code splitting is currently only supported when format is set to "esm"" — older bun silently ignored splitting: true on the cjs pass. It hit the Release workflow (and not CI) because tools/github/setup-repo installs bun-version: latest, while ci.yml pins 1.3.13.

  • tools/builder/index.ts: run the cjs pass with splitting: false (esm pass unchanged)
  • tools/github/setup-repo/action.yml: pin bun-version: 1.3.13, same as ci.yml / packageManager

Verified bun run build green under both 1.3.13 and 1.4.0.

Note for later: buildPackage's success check is !(buildESM.success || buildCJS.success) — a cjs-only failure is silently ignored when esm passes; left untouched here to stay minimal.

🤖 Generated with Claude Code

…ss, pin setup-repo bun

bun 1.4.0 (now "latest") hard-errors on splitting with non-esm formats,
which older bun silently ignored; the Release workflow broke because
tools/github/setup-repo installs bun-version latest while ci.yml pins
1.3.13. Disable splitting for the cjs build pass and pin setup-repo to
the same 1.3.13 as ci.yml/packageManager. Verified bun run build green
under both 1.3.13 and 1.4.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@towanTG
towanTG merged commit 8247971 into develop Aug 21, 2026
1 check failed
@towanTG
towanTG deleted the chore/release-build-bun-140 branch August 21, 2026 18:24
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