test: align release safety guard with configured Goose targets
Memind CI / Test, build, and release guards (push) Successful in 4m33s

This commit is contained in:
john
2026-10-19 14:07:36 +08:00
parent e4fc5571e8
commit 03bdb09d8b
2 changed files with 12 additions and 2 deletions
+5 -2
View File
@@ -7,9 +7,12 @@ const releaseScript = fs.readFileSync(
'utf8',
);
test('REL-08 all nine goosed runtimes are remounted and health/identity checked after live swap', () => {
test('REL-08 configured goosed runtimes are remounted and health/identity checked after live swap', () => {
assert.match(releaseScript, /containers\[@\].*!= 9/);
assert.match(releaseScript, /seq 18006 18014/);
assert.match(releaseScript, /targets_line=.*TKMIND_API_TARGETS/);
assert.match(releaseScript, /for port in "\$\{native_ports\[@\]\}"/);
assert.match(releaseScript, /curl -skS -m 5 "https:\/\/127\.0\.0\.1:\$\{port\}\/status"/);
assert.match(releaseScript, /goosed remount failed: native goosed pool did not become healthy/);
assert.match(releaseScript, /up -d --force-recreate/);
assert.match(releaseScript, /\/opt\/portal\/mindspace-sandbox-mcp\.mjs/);
assert.match(releaseScript, /remount_goosed_after_live_swap/);