From d8d83413fc44c3033b6dcbc322c3da0fbf446ff4 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Tue, 10 Nov 2026 05:08:37 -0500 Subject: [PATCH] test(orchestration): lint --- .../federation/remote-owned/remote-owned-route.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/runtime/orchestration/federation/remote-owned/remote-owned-route.test.ts b/src/main/runtime/orchestration/federation/remote-owned/remote-owned-route.test.ts index f574b6b21c8..246c9433726 100644 --- a/src/main/runtime/orchestration/federation/remote-owned/remote-owned-route.test.ts +++ b/src/main/runtime/orchestration/federation/remote-owned/remote-owned-route.test.ts @@ -242,9 +242,8 @@ describe('commands about a worker a paired server owns', () => { it("answers in the caller's terms: its own request ID and its own Run, never the server's", async () => { const receipt = await startOnB() - answers['orchestration.workerShow'] = [] const key = () => - sent.filter((s) => s.method === 'orchestration.workerRelease').at(-1)?.envelope + sent.findLast((s) => s.method === 'orchestration.workerRelease')?.envelope ?.orchestrationRequestId answers['orchestration.workerRelease'] = [{ result: { state: 'released' } }] await call('orchestration.workerRelease', { dispatch: 'ctx_b1' }, { requestId: REQUEST })