Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix: restore provider history and prompts when rewinding #11338

Mergedmaria-rcksmerged 11 commits intomain fromrefs/pull/11338/headmerged by maria-rcks View on GitHub

Showing 31 changed files with 53 additions and 39 deletions (loading 28).

x
0 of 31 viewed, 31 left
2 additions and 2 deletionsapps/server/integration/orchestrationEngine.integration.test.tsModified
View file
@@ -888,7 +888,7 @@
​
it.live(
- "appends checkpoint.revert.failed activity when revert is requested without an active session",
+ "appends checkpoint.revert.failed activity when revert is requested without a provider binding",
() =>
withHarness((harness) =>
Effect.gen(function* () {
@@ -917,7 +917,7 @@
assert.equal(
String(
(failureActivity?.payload as { readonly detail?: string } | undefined)?.detail,
- ).includes("No active provider session"),
+ ).includes("no persisted provider binding exists"),
true,
}),
39 additions and 21 deletionsapps/server/src/orchestration/Layers/CheckpointReactor.test.tsModified
View file
@@ -1916,27 +1916,45 @@
- it("appends an error activity when revert is requested without an active session", async () => {
- const harness = await createHarness({ hasSession: false });
- const createdAt = "2026-01-01T00:00:00.000Z";