fix: prevent plan canvas connection starvation

This commit is contained in:
haelyra
2026-08-27 21:24:03 -04:00
parent bb4adc6462
commit 61652b74ff
6 changed files with 197 additions and 222 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ async function main() {
assert.strictEqual(result.parsed.status, 'open');
assert.strictEqual(shutdownRequested, true, 'current CLI should retire the stale server');
const health = JSON.parse((await request(legacyPort, 'GET', '/health')).body);
assert.strictEqual(health.protocolVersion, 2);
assert.strictEqual(health.protocolVersion, 3);
} finally {
if (legacyServer.listening) {
await new Promise(resolve => legacyServer.close(resolve));