The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): remote-sub-profile routing cases
Ayush Nangiaeb63c254bc3b
diff --git a/apps/desktop/electron/connection-config.test.ts b/apps/desktop/electron/connection-config.test.tsindex ab5538a60cd..f65eb3e0e25 100644--- a/apps/desktop/electron/connection-config.test.ts+++ b/apps/desktop/electron/connection-config.test.ts@@ -346,6 +346,30 @@ const ROUTES = [profile: 'coder',opts: { primaryProfile: 'default', globalRemote: false, profileRemoteOverride: false },expected: { backend: 'pool', descriptorProfile: null, scopePath: false }+ },+ {+ name: 'a remote sub-profile without a local entry routes through the primary remote gateway',+ profile: 'pm',+ opts: {+ primaryProfile: 'default',+ globalRemote: false,+ profileRemoteOverride: false,+ primaryRemoteActive: true,+ ownEntry: false+ },+ expected: { backend: 'primary', descriptorProfile: 'pm', scopePath: true }+ },+ {+ name: 'a sub-profile with its own local entry still pools locally under a remote primary',+ profile: 'pm',+ opts: {+ primaryProfile: 'default',+ globalRemote: false,+ profileRemoteOverride: false,+ primaryRemoteActive: true,+ ownEntry: true+ },+ expected: { backend: 'pool', descriptorProfile: null, scopePath: false }}]