Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): avoid full history on Codex resume #6400

Closednickmatteo(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/6400/headopened View on GitHub

Showing 2 changed files with 100 additions and 23 deletions.

x
0 of 2 viewed, 2 left
75 additions and 22 deletionsapps/server/src/provider/Layers/CodexSessionRuntime.test.tsModified
View file
@@ -50,16 +50,20 @@
modelProvider: "openai",
approvalPolicy: "never",
approvalsReviewer: "user",
- sandbox: { type: "danger-full-access" },
+ sandbox: { type: "dangerFullAccess" },
thread: {
id: threadId,
- createdAt: "2026-04-18T00:00:00.000Z",
- source: { session: "cli" },
+ cliVersion: "0.147.0",
+ createdAt: 1_776_470_400,
+ cwd: "/tmp/project",
+ ephemeral: false,
+ modelProvider: "openai",
+ preview: "",
+ sessionId: threadId,
+ source: "cli",
turns: [],
- status: {
- state: "idle",
- activeFlags: [],
- },
+ status: { type: "idle" },
+ updatedAt: 1_776_470_400,
},
} as unknown as CodexRpc.ClientRequestResponsesByMethod["thread/start"];
@@ -550,19 +554,22 @@