Skip to content

Conversation

@jkoelker
Copy link
Contributor

@jkoelker jkoelker commented Jan 15, 2026

Platform packages can be skipped in CI, which leaves the wrapper without a binary to execute. Run the bundled CLI via Bun when binary resolution fails so install still works.


Summary by cubic

Add a Bun-based fallback to run the bundled JS CLI when the platform binary isn’t available. This keeps installs working in CI and preserves expected exit behavior.

  • Bug Fixes
    • Runs dist/cli/index.js via Bun if binary resolution fails.
    • Preserves exit codes and handles SIGTERM/SIGKILL/SIGINT.
    • Clear guidance: install the platform package or Bun for the JS fallback.
    • Added getFallbackCliPath and a unit test.

Written for commit 176b4a5. Summary will update on new commits.

Platform packages can be skipped in CI, which leaves the wrapper
without a binary to execute. Run the bundled CLI via Bun
when binary resolution fails so install still works.
@kdcokenny
Copy link
Collaborator

appreciate the pr but we need to properly package it up by enabling platform package publishing #829

@kdcokenny kdcokenny closed this Jan 16, 2026
@jkoelker jkoelker deleted the no_bin_fallback branch January 16, 2026 01:58
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.

2 participants