fix: retain recovery handling for startup Stop deadlines

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-09-21 09:13:10 -05:00
1 parent c9e95797d7
commit 74bd68d8be
4 files changed
+10 -5

No files matched your search

@@ -4984,7 +4984,7 @@ describe("native session cancellation", () => {
// Let the durable intent commit before advancing the startup deadline.
await new Promise(resolve => setImmediate(resolve));
await vi.advanceTimersByTimeAsync(30_000);
expect(await stopping).toMatchObject({ message: "native_cancellation_startup_not_ready" });
expect(await stopping).toMatchObject({ name: "NativeCancellationPendingRecoveryError" });
expect(persistence.getResultJson().nativeCancellation).toMatchObject({ dispatchState: "pending" });
vi.useRealTimers();
open(); await outcome;