Skip to content

Commit 7be0910

Browse files
[test] fix CI: ignore sandbox type and reasoningEffort
1 parent 641885e commit 7be0910

3 files changed

Lines changed: 7 additions & 19 deletions

File tree

src/__tests__/CodexACPAgent/CodexAcpClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('ACP server test', () => {
1010
vi.clearAllMocks();
1111
});
1212

13-
const ignoredFields = ["thread", "cwd", "id", "createdAt", "path", "threadId", "userAgent"];
13+
const ignoredFields = ["thread", "cwd", "id", "createdAt", "path", "threadId", "userAgent", "sandbox", "reasoningEffort"];
1414

1515
it('should start conversation', async () => {
1616
const codexAcpAgent = fixture.getCodexAcpAgent();

src/__tests__/CodexACPAgent/data/auth-with-key.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"model": null,
3434
"cwd": "cwd",
3535
"approvalPolicy": "never",
36-
"sandbox": null,
36+
"sandbox": "sandbox",
3737
"baseInstructions": null,
3838
"developerInstructions": null
3939
}
@@ -45,12 +45,6 @@
4545
"modelProvider": "openai",
4646
"cwd": "cwd",
4747
"approvalPolicy": "never",
48-
"sandbox": {
49-
"type": "workspaceWrite",
50-
"writableRoots": [],
51-
"networkAccess": false,
52-
"excludeTmpdirEnvVar": false,
53-
"excludeSlashTmp": false
54-
},
55-
"reasoningEffort": "medium"
48+
"sandbox": "sandbox",
49+
"reasoningEffort": "reasoningEffort"
5650
}

src/__tests__/CodexACPAgent/data/start-conversation.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"model": null,
2323
"cwd": "cwd",
2424
"approvalPolicy": "never",
25-
"sandbox": null,
25+
"sandbox": "sandbox",
2626
"baseInstructions": null,
2727
"developerInstructions": null
2828
}
@@ -34,14 +34,8 @@
3434
"modelProvider": "openai",
3535
"cwd": "cwd",
3636
"approvalPolicy": "never",
37-
"sandbox": {
38-
"type": "workspaceWrite",
39-
"writableRoots": [],
40-
"networkAccess": false,
41-
"excludeTmpdirEnvVar": false,
42-
"excludeSlashTmp": false
43-
},
44-
"reasoningEffort": "medium"
37+
"sandbox": "sandbox",
38+
"reasoningEffort": "reasoningEffort"
4539
}
4640
{
4741
"eventType": "request",

0 commit comments

Comments
 (0)