feat: surface codex windows sandbox progress
This commit is contained in:
@@ -274,6 +274,12 @@ test("POST task progress preserves Codex runtime status summaries", async () =>
|
||||
environmentId: "env-prod",
|
||||
installationId: "install-secret-should-not-persist",
|
||||
},
|
||||
windowsSandbox: {
|
||||
status: "failed",
|
||||
setupMode: "elevated",
|
||||
error: "token=sk-secret-should-not-persist failed",
|
||||
sourcePath: "C:\\Users\\kris\\secret\\sandbox.log",
|
||||
},
|
||||
},
|
||||
}),
|
||||
}),
|
||||
@@ -292,7 +298,11 @@ test("POST task progress preserves Codex runtime status summaries", async () =>
|
||||
assert.equal(progress?.mcpServers?.[0]?.name, "github");
|
||||
assert.equal(progress?.mcpServers?.[0]?.error, "token=[redacted] failed to start");
|
||||
assert.equal(progress?.remoteControl?.status, "connected");
|
||||
assert.equal(progress?.windowsSandbox?.status, "failed");
|
||||
assert.equal(progress?.windowsSandbox?.setupMode, "elevated");
|
||||
assert.equal(progress?.windowsSandbox?.error, "token=[redacted] failed");
|
||||
assert.equal(JSON.stringify(progress).includes("install-secret-should-not-persist"), false);
|
||||
assert.equal(JSON.stringify(progress).includes("C:\\Users\\kris\\secret"), false);
|
||||
});
|
||||
|
||||
test("POST task progress preserves Codex thread goal, settings, and compaction summaries", async () => {
|
||||
|
||||
Reference in New Issue
Block a user