Skip to content

fix(deploy): resolve host bun binary - #340

Merged
shuv1337 merged 1 commit into
integration-v2from
fix-host-preflight
Jul 15, 2026
Merged

fix(deploy): resolve host bun binary#340
shuv1337 merged 1 commit into
integration-v2from
fix-host-preflight

Conversation

@shuv1337

Copy link
Copy Markdown
Collaborator

Summary

  • resolve Bun from PATH when available
  • fall back to ~/.bun/bin/bun for non-interactive SSH sessions
  • use the resolved executable for version validation and host builds

Root cause

The guarded host preflight assumed interactive-shell PATH initialization. Non-interactive SSH on shuvdev does not include ~/.bun/bin, so the check stopped before evaluating repository and configuration invariants.

Validation

  • bash -n deploy/install-host.sh
  • shellcheck deploy/install-host.sh, when available
  • fallback resolution under a restricted PATH
  • git diff --check
  • pre-push monorepo typecheck: 32/32

@shuv1337
shuv1337 merged commit 5c20cc6 into integration-v2 Jul 15, 2026
5 checks passed
@shuv1337
shuv1337 deleted the fix-host-preflight branch July 15, 2026 10:10
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