From b98b1000a6a5faf34ad929859a1b9fe6148a639e Mon Sep 17 00:00:00 2001 From: Senthil Ravichandran Date: Thu, 30 Jul 2026 17:31:44 -0700 Subject: [PATCH] fix(installer): preserve Station resume receipt Signed-off-by: Senthil Ravichandran --- scripts/install.sh | 1 - test/install-station-pair-preparation.test.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index a3997b792b..a34dba8d1a 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -4424,7 +4424,6 @@ ensure_station_express_pair() { || error "The explicit DGX Station peer could not be qualified; refusing single-Station fallback." station_dual_pair_resume_pending \ && error "Dual DGX Station preparation returned a single-Station result while exact pair resume state is pending; refusing to discard it." - clear_station_express_resume if [ "${_STATION_EXPRESS_MODEL_WAS_EXPLICIT:-0}" = "0" ]; then NEMOCLAW_VLLM_MODEL="$STATION_ULTRA_VLLM_MODEL" NEMOCLAW_MODEL="$STATION_ULTRA_SERVED_MODEL" diff --git a/test/install-station-pair-preparation.test.ts b/test/install-station-pair-preparation.test.ts index 3853bf895f..14d0fe809a 100644 --- a/test/install-station-pair-preparation.test.ts +++ b/test/install-station-pair-preparation.test.ts @@ -1279,7 +1279,7 @@ printf 'RESULT peer=%s model=%s binding=%s\n' "$NEMOCLAW_DGX_STATION_PEER" "$NEM } }); - it("preserves the existing single-Station default when discovery finds no peer", () => { + it("preserves the Station resume receipt when discovery finds no peer", () => { const { result, output, home } = runInstallerBody( ` node() { @@ -1298,7 +1298,7 @@ NEMOCLAW_MODEL='nvidia/nemotron-3-ultra-550b-a55b' unset NEMOCLAW_DGX_STATION_PEER NEMOCLAW_DGX_STATION_SSH_BINDING='stale' ensure_station_express_pair -printf 'RESULT peer=%s model=%s selector=%s binding=%s\n' "\${NEMOCLAW_DGX_STATION_PEER:-}" "\${NEMOCLAW_MODEL:-}" "\${NEMOCLAW_VLLM_MODEL:-}" "\${NEMOCLAW_DGX_STATION_SSH_BINDING:-}" +printf 'RESULT peer=%s model=%s selector=%s binding=%s receipt=%s\n' "\${NEMOCLAW_DGX_STATION_PEER:-}" "\${NEMOCLAW_MODEL:-}" "\${NEMOCLAW_VLLM_MODEL:-}" "\${NEMOCLAW_DGX_STATION_SSH_BINDING:-}" "$(sed -n '3p' "$HOME/.nemoclaw/station-express-resume")" `, { PAIR_REVISION: REVISION }, ); @@ -1306,7 +1306,7 @@ printf 'RESULT peer=%s model=%s selector=%s binding=%s\n' "\${NEMOCLAW_DGX_STATI expect(result.status, output).toBe(0); expect(output).toContain("No trusted reciprocal dual-DGX Station pair was detected"); expect(output).toContain( - "RESULT peer= model=nvidia/nemotron-3-ultra-550b-a55b selector=nemotron-3-ultra-550b-a55b binding=", + "RESULT peer= model=nvidia/nemotron-3-ultra-550b-a55b selector=nemotron-3-ultra-550b-a55b binding= receipt=generation=0123456789abcdef0123456789abcdef", ); } finally { fs.rmSync(home, { recursive: true, force: true });