From 941b3fc7bbdeebc3c89820e034ec9012f582265b Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 6 Aug 2026 22:56:44 -0500 Subject: [PATCH] feat(core): clarify restart continuation notice --- packages/core/src/session/execution/restart.ts | 2 +- packages/core/test/session-execution.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/session/execution/restart.ts b/packages/core/src/session/execution/restart.ts index 54e3a4e0800..b46cf3dfdf3 100644 --- a/packages/core/src/session/execution/restart.ts +++ b/packages/core/src/session/execution/restart.ts @@ -46,7 +46,7 @@ export const layer = Layer.effect( yield* bus.publish(SessionEvent.Synthetic, { sessionID, text: CONTINUE_AFTER_SERVER_RESTART, - description: "Server restarted", + description: "Continuing after restart", }) // Drain failures are already logged and durably recorded by the execution layer. yield* Effect.ignore(execution.resume(sessionID)) diff --git a/packages/core/test/session-execution.test.ts b/packages/core/test/session-execution.test.ts index e8adaab6cca..acdc4fc9653 100644 --- a/packages/core/test/session-execution.test.ts +++ b/packages/core/test/session-execution.test.ts @@ -148,7 +148,7 @@ describe("SessionExecution lifecycle", () => { [first, second].map((sessionID) => ({ sessionID, text: "The server restarted while you were working. Continue from where you left off without repeating completed work.", - description: "Server restarted", + description: "Continuing after restart", })), ) expect(yield* suspensions(database)).toEqual({ [first]: false, [second]: false })