Skip to content

fix(hub): give the coder's sandbox a bun shim to the hub's Bun - #216

Merged
TheGreatAxios merged 2 commits into
mainfrom
fix/sandbox-bun-shim
Nov 6, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
fix/sandbox-bun-shim

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

The coder's sandbox now writes a bun shim next to its existing node shim. Both run the hub's own Bun by its full path. Before this, bun resolved only if the hub's Bun binary was named bun. A hub started with Bun from npm, which ships it as bun.exe, failed every build command and the Live Preview install with exit code 127.

Verified by creating the sandbox the way the hub does and running bun --version and bun install in it, under Bun 1.4.4 installed from npm. On main both commands exit 127 in 3 of 3 runs. With this change bun --version prints 1.4.4 in 3 of 3 runs, matching a control run with Bun from the official install script. Lint, format, typecheck, pins, vendor checks and the full test suite pass.

Fixes CL-12207

@TheGreatAxios TheGreatAxios added the bug Something isn't working label Nov 6, 2026
@linear-code

linear-code Bot commented Nov 6, 2026

Copy link
Copy Markdown

CL-12207

@TheGreatAxios
TheGreatAxios marked this pull request as ready for review November 6, 2026 22:59
@TheGreatAxios
TheGreatAxios added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit de50511 Nov 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant