feat(core): clarify restart continuation notice

This commit is contained in:
Aiden Cline
2026-08-06 22:56:44 -05:00
parent a39b20ee36
commit 941b3fc7bb
2 changed files with 2 additions and 2 deletions
@@ -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))
+1 -1
View File
@@ -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 })