Skip to content

The agent that grows with you

test(desktop): widen the roster-enumeration scan window past the ssh install-id branch

teknium1c4f5dd0dad62
diff --git a/apps/desktop/electron/backend-dial-claim.test.ts b/apps/desktop/electron/backend-dial-claim.test.ts
index f280661563d..b80de962482 100644
--- a/apps/desktop/electron/backend-dial-claim.test.ts
+++ b/apps/desktop/electron/backend-dial-claim.test.ts
@@ -178,7 +178,9 @@ describe('main.ts wiring for #90812', () => {
it('routes the roster-enumeration probe through the single-owner claim', () => {
const handlerStart = mainSource.indexOf('async function enumerateRegistryAgentSources')
expect(handlerStart).toBeGreaterThan(-1)
- const body = mainSource.slice(handlerStart, handlerStart + 3_700)
+ // The ssh branch grew (it now carries the install id learned by the
+ // inventory probe) — keep the scan window comfortably past the dial.
+ const body = mainSource.slice(handlerStart, handlerStart + 4_500)
expect(body).toContain('backendDialClaims.run(backendScopeKey(connection.id, null)')
expect(body).toContain('ensureRegistryBackend(connection.id, null)')