From 8300e5a87cdd5fe628407d37a55dcbb33e84bd94 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:52:16 +0000 Subject: [PATCH 1/2] Initial plan From 8ba862b927b576fbb1ff2aa3c25c4e9c9960a75b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:56:18 +0000 Subject: [PATCH 2/2] fix: Increase timeout for Protocol E2E sync tests The "client and relay have all data" test was timing out with the default 5000ms timeout. This commit adds 15000ms timeouts to this test and other "many steps" tests in the E2E sync suite, following the pattern established in commit 0a8f3ea. Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> --- packages/common/test/local-first/Protocol.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/common/test/local-first/Protocol.test.ts b/packages/common/test/local-first/Protocol.test.ts index aea4f5082..302a85259 100644 --- a/packages/common/test/local-first/Protocol.test.ts +++ b/packages/common/test/local-first/Protocol.test.ts @@ -1136,7 +1136,7 @@ describe("E2E sync", () => { return { syncSteps, syncSizes }; }; - it("client and relay have all data", async () => { + it("client and relay have all data", { timeout: 15000 }, async () => { await using run = testCreateRunner(); const [clientStorage, relayStorage] = await createStorages(); await run(clientStorage.writeMessages(testOwnerIdBytes, messages)); @@ -1175,7 +1175,7 @@ describe("E2E sync", () => { `); }); - it("client has all data - many steps", async () => { + it("client has all data - many steps", { timeout: 15000 }, async () => { await using run = testCreateRunner(); const [clientStorage, relayStorage] = await createStorages(); await run(clientStorage.writeMessages(testOwnerIdBytes, messages)); @@ -1227,7 +1227,7 @@ describe("E2E sync", () => { `); }); - it("relay has all data - many steps", async () => { + it("relay has all data - many steps", { timeout: 15000 }, async () => { await using run = testCreateRunner(); const [clientStorage, relayStorage] = await createStorages(); await run(relayStorage.writeMessages(testOwnerIdBytes, messages)); @@ -1305,7 +1305,7 @@ describe("E2E sync", () => { }, ); - it("client and relay each have a random half of the data - many steps", async () => { + it("client and relay each have a random half of the data - many steps", { timeout: 15000 }, async () => { await using run = testCreateRunner(); const [clientStorage, relayStorage] = await createStorages();