The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): profile-door dial failure now rejects (post-#81165 contract) — #92265 invariant unchanged
Tekniumb52b05c1defa
diff --git a/apps/desktop/src/store/gateway-secondary-open-check.test.ts b/apps/desktop/src/store/gateway-secondary-open-check.test.tsindex 237faacbfd4..d6c5b918de8 100644--- a/apps/desktop/src/store/gateway-secondary-open-check.test.ts+++ b/apps/desktop/src/store/gateway-secondary-open-check.test.ts@@ -138,7 +138,10 @@ describe('secondary activation requires an open socket, not just a connection degatewayMocks.connect.mockRejectedValueOnce(new Error('ECONNRESET'))- await ensureGatewayForProfile('research')+ // Post-#81165 the profile door RE-THROWS on a failed dial (so callers can+ // surface it); the #92265 invariant under test is unchanged — the closed+ // secondary must never be published as the active route.+ await expect(ensureGatewayForProfile('research')).rejects.toThrow('ECONNRESET')// Must still be on the primary -- the closed secondary was never// published as the active route.