From 0cefc491c8f3e3d84fd69f4a9bc6f85b8d16556a Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 26 Aug 2026 18:38:02 -0700 Subject: [PATCH] test: widen the update-all scan window for the salvaged #95606 wiring pin main's hermes:connections:update-all handler grew (renderer-side exclusions + the managed-SSH dispatch branch) after #95606 branched, pushing the claim- guarded dial past the 2,000-char slice. --- apps/desktop/electron/backend-dial-claim.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/desktop/electron/backend-dial-claim.test.ts b/apps/desktop/electron/backend-dial-claim.test.ts index 4788da16d9..6aa7ce1353 100644 --- a/apps/desktop/electron/backend-dial-claim.test.ts +++ b/apps/desktop/electron/backend-dial-claim.test.ts @@ -182,7 +182,9 @@ describe('main.ts wiring for #90812', () => { it('routes the connections update-all dispatch through the single-owner claim', () => { const handlerStart = mainSource.indexOf("ipcMain.handle('hermes:connections:update-all',") expect(handlerStart).toBeGreaterThan(-1) - const body = mainSource.slice(handlerStart, handlerStart + 2_000) + // The handler grew on main (renderer-side exclusions + the managed-SSH + // dispatch branch) — keep the scan window comfortably past the dial. + const body = mainSource.slice(handlerStart, handlerStart + 3_000) expect(body).toContain('backendDialClaims.run(backendScopeKey(connection.id, null)') expect(body).toContain('ensureRegistryBackend(connection.id, null)')