Skip to content

Commit d2742fc

Browse files
committed
Clarify restored session error copy
1 parent b2f027f commit d2742fc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,8 @@ describe("ProviderCommandReactor", () => {
16461646
providerInstanceId: ProviderInstanceId.make("codex"),
16471647
runtimeMode: "approval-required",
16481648
activeTurnId: null,
1649-
lastError: "Provider runtime is no longer active. Start a new turn to reconnect this thread.",
1649+
lastError:
1650+
"This thread was restored, but its running provider session was no longer available.\nStart a new turn to continue.",
16501651
});
16511652
expect(thread?.latestTurn).toMatchObject({
16521653
turnId: asTurnId("turn-stale"),

‎apps/server/src/orchestration/Layers/ProviderCommandReactor.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const HANDLED_TURN_START_KEY_TTL = Duration.minutes(30);
9797
const DEFAULT_RUNTIME_MODE: RuntimeMode = "full-access";
9898
const DEFAULT_THREAD_TITLE = "New thread";
9999
const STALE_RUNNING_SESSION_DETAIL =
100-
"Provider runtime is no longer active. Start a new turn to reconnect this thread.";
100+
"This thread was restored, but its running provider session was no longer available.\nStart a new turn to continue.";
101101

102102
export function providerErrorLabel(value: string | undefined): string {
103103
const normalized = value?.trim();

0 commit comments

Comments
 (0)