From 02f2dc6b17554560b0352eb046fc68cbab6624e0 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 26 Jul 2026 21:24:23 +0800 Subject: [PATCH] fix: preserve canary release stdin across edge checks --- release-gate/release-script.test.mjs | 9 +++++++++ scripts/release-portal-canary-prod.sh | 8 ++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/release-gate/release-script.test.mjs b/release-gate/release-script.test.mjs index ef1df1b..40cb81c 100644 --- a/release-gate/release-script.test.mjs +++ b/release-gate/release-script.test.mjs @@ -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 <