Preserve upstream local sandbox defaults in environment regression test

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-09-11 14:48:41 -05:00
parent c3b7d8f081
commit daf38c67f1
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ describe("buildCodexExecArgs", () => {
expect(result.args).toContain("features.shell_snapshot=false");
expect(result.args.indexOf("allow_login_shell=false")).toBeGreaterThan(result.args.indexOf("allow_login_shell=true"));
expect(result.args.slice(-1)).toEqual(["-"]);
expect(buildCodexExecArgs({}).args).toEqual(["exec", "--json", "-"]);
expect(buildCodexExecArgs({}).args).toEqual([
"exec", "--json", "-c", 'sandbox_mode="workspace-write"',
"-c", "sandbox_workspace_write.network_access=true", "-",
]);
});
it("forwards GPT-6 Astra, its ultra reasoning effort, and fast mode", () => {