Ship the Bare ELF in the release and stop baking host paths into the service.
Rolling release / release (push) Failing after 6m40s

The rolling bundle already contains the runtime binary. The installer now starts that file through a relative launcher, and the checkout unit is no longer packed for other users.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
2026-09-14 12:29:26 -04:00
co-authored by Cursor
parent 3c9257ce88
commit c88062ba69
9 changed files with 58 additions and 19 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Start the Bare ELF shipped with this install. Never use a bare from PATH.
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
case "$(uname -m)" in
x86_64|amd64) BIN="${ROOT}/node_modules/bare-runtime-linux-x64/bin/bare" ;;
aarch64|arm64) BIN="${ROOT}/node_modules/bare-runtime-linux-arm64/bin/bare" ;;
*) echo "Unsupported architecture: $(uname -m)" >&2; exit 2 ;;
esac
if [[ ! -x "${BIN}" ]]; then
echo "This Jarvis install has no Bare runtime at ${BIN}." >&2
echo "Install the official rolling bundle. A Bare binary from PATH is not used." >&2
exit 1
fi
exec "${BIN}" "$@"