frank-large: serve script feeds the launcher its runtime root from the SDK venv

The CIRU launcher gates on hip/lib/libamdhip64.so + rocr/lib/libhsa-runtime64.so
under its runtime root and exits 2 without them; the build links the private
venv through its RUNPATH, so point those entries at the venv's unversioned
devel symlinks (idempotent ln -sfn). Without this the unit crash-looped for
the full 2400s health gate on first deploy.
This commit is contained in:
Frank committed 2026-09-19 03:49:04 -07:00
1 parent b6ce3afb1f
commit f68bda56c7
2 files changed
+25

No files matched your search

+11
View File
@@ -72,6 +72,17 @@ REMOTE_DEPLOY="$REPO_ROOT/scripts/deploy-remote.sh"
grep -q 'preserve_thinking' "$SERVE"
}
@test "the serve script feeds the launcher its runtime root from the SDK venv" {
# The launcher exits 2 without hip/lib/libamdhip64.so +
# rocr/lib/libhsa-runtime64.so under its runtime root; the build links
# the private venv, so the serve script must point those entries there
# or the unit crash-loops on the gate (seen 2026-09-19).
grep -q '_rocm_sdk_devel/lib' "$SERVE"
grep -q 'runtime/hip/lib/libamdhip64.so' "$SERVE"
grep -q 'runtime/rocr/lib/libhsa-runtime64.so' "$SERVE"
grep -q 'missing SDK venv runtime' "$SERVE"
}
@test "the payload is fetched resumably and verified by sha256" {
grep -q 'jcbtc/Qwen3.8-Flash-CIRU-STRIX-Orca' "$FETCH"
grep -q -- '-fL -C -' "$FETCH"