Skip to content

fix(npm): fall back after prebuilt SIGILL#484

Open
snvtac wants to merge 1 commit into
modem-dev:mainfrom
snvtac:snvtac/454-sigill-bun-fallback
Open

fix(npm): fall back after prebuilt SIGILL#484
snvtac wants to merge 1 commit into
modem-dev:mainfrom
snvtac:snvtac/454-sigill-bun-fallback

Conversation

@snvtac

@snvtac snvtac commented Jun 26, 2026

Copy link
Copy Markdown

Summary

  • let the npm wrapper continue to the bundled Bun runtime when an auto-discovered native prebuilt exits with SIGILL
  • preserve normal native exit codes and keep HUNK_BIN_PATH override failures non-fallback
  • add wrapper regression coverage and a patch changeset for hunkdiff

Fixes #454.

Validation

  • bun test test/cli/entrypoint.test.ts --test-name-pattern "bin wrapper"
  • bun test test/cli/entrypoint.test.ts
  • bun run typecheck
  • bun run format:check
  • bun run lint
  • git diff --check
  • bun run build:npm
  • bun run check:pack
  • bun run changeset:status
  • bun run test
  • bun run build:prebuilt:npm
  • bun run check:prebuilt-pack
  • bun run smoke:prebuilt-install
  • bun run test:integration
  • bun run test:tty-smoke

Notes

  • I could not run the original Docker/QEMU repro locally because the Docker CLI is not available in this environment.

@greptile-apps

greptile-apps Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

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.

Linux x64 prebuilt binary SIGILLs on non-AVX/Haswell CPU; Bun fallback works

1 participant