Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(codex): resume archived native sessions #15389

Mergedmaria-rcksmerged 1 commit intomain fromrefs/pull/15389/headmerged by maria-rcks View on GitHub

Showing 2 changed files with 185 additions and 14 deletions.

x
0 of 2 viewed, 2 left
155 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.tsModified
View file
@@ -2597,6 +2597,161 @@
+ it.effect.each(
+ (
+ [
+ ["recovers archived-session errors", "session saved-thread is archived", 0, ""],
+ [
+ "recovers unarchive hints",
+ "Run `codex unarchive saved-thread` to unarchive it first.",
+ 0,
+ "",
+ ],
+ ["preserves missing-thread errors", "thread not found", 3, "thread not found"],
+ ["preserves missing-rollout errors", "no rollout found", 3, "no rollout found"],
+ ["preserves authentication errors", "authentication failed", 3, "authentication failed"],
+ [
+ "preserves archived-workspace errors",
+ "workspace is archived",
+ 3,
+ "workspace is archived",
+ ],
+ [
+ "preserves unrelated archive-path errors",
+ "permission denied reading archived_sessions/saved-thread",
+ 3,
+ "permission denied reading archived_sessions/saved-thread",
+ ],
+ [