fix: preserve canary release stdin across edge checks
Memind CI / Test, build, and release guards (push) Successful in 1m35s

This commit is contained in:
john
2026-07-26 21:24:23 +08:00
parent 473ad80882
commit 02f2dc6b17
2 changed files with 15 additions and 2 deletions
+9
View File
@@ -139,6 +139,15 @@ test('production canary keeps stable 8081 live and switches only after verified
assert.match(source, /nginx -t/);
assert.match(source, /CANARY_PROXY_PORT=18082/);
assert.match(source, /CANARY_TUNNEL_REMOTE_PORT=19082/);
assert.match(
source,
/edge_ssh\(\) \{\s*#.*\n\s*#.*\n\s*ssh -n -o BatchMode=yes/,
);
assert.match(
source,
/ssh -o BatchMode=yes -o ConnectTimeout=10 "\$\{EDGE_HOST\}" \/bin\/bash <<EDGE_SWITCH/,
);
assert.doesNotMatch(source, /edge_ssh \/bin\/bash <<EDGE_SWITCH/);
assert.match(source, /CANARY_USERNAMES="john"/);
assert.match(source, /CANARY_WECHAT_USER_IDS="wx_ul610et8"/);
assert.match(source, /route-probe\?\$\{probe_query\}/);