Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
670a02f
deflake
Adib234 Feb 26, 2026
b734b75
update
Adib234 Feb 26, 2026
d01bd83
update
Adib234 Feb 26, 2026
944e1d1
update
Adib234 Feb 26, 2026
ad4bad2
address comment
Adib234 Feb 26, 2026
eae8145
update test
Adib234 Feb 26, 2026
d8f6232
test change
Adib234 Feb 26, 2026
b5258bb
debug
Adib234 Feb 27, 2026
03b8d24
update
Adib234 Feb 27, 2026
730cd41
debug
Adib234 Feb 27, 2026
7f67017
fix build error
Adib234 Feb 27, 2026
3ff6c40
Merge branch 'main' into adibakm/deflake-plan-mode
Adib234 Feb 27, 2026
c03d733
revert debugging
Adib234 Feb 27, 2026
6e248a3
build and format
Adib234 Feb 27, 2026
bb1bb26
add policy in integration test
Adib234 Mar 1, 2026
133fd7b
update policy in integration test
Adib234 Mar 1, 2026
9103d75
test change
Adib234 Mar 1, 2026
20a4af0
test
Adib234 Mar 1, 2026
6731df1
change test to interactive
Adib234 Mar 1, 2026
367b382
remove unused code
Adib234 Mar 1, 2026
c2993a1
disable interactive prompts at startup
Adib234 Mar 1, 2026
8b27136
Merge branch 'main' into adibakm/deflake-plan-mode
Adib234 Mar 1, 2026
e9f0515
revert deflake.yml
Adib234 Mar 1, 2026
487389b
remove unnecessary comment
Adib234 Mar 1, 2026
1c23919
split test into 2 tests
Adib234 Mar 1, 2026
caf1d5e
split test into 2 tests
Adib234 Mar 1, 2026
db14739
address nit
Adib234 Mar 2, 2026
d870519
revert deflake.yml
Adib234 Mar 2, 2026
487c23a
revert deflake.yml
Adib234 Mar 2, 2026
cab449d
revert deflake.yml
Adib234 Mar 2, 2026
51ad095
address lint
Adib234 Mar 2, 2026
bc2aff5
Merge branch 'main' into adibakm/deflake-plan-mode
Adib234 Mar 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration-tests/plan-mode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Plan Mode', () => {
});
});

it.skip('should allow write_file only in the plans directory in plan mode', async () => {
it('should allow write_file only in the plans directory in plan mode', async () => {
await rig.setup(
'should allow write_file only in the plans directory in plan mode',
{
Expand Down
10 changes: 8 additions & 2 deletions packages/test-utils/src/test-rig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1142,12 +1142,15 @@ export class TestRig {
) {
const bodyMatch = obj.body.match(/Tool call: (\w+)\./);
if (bodyMatch) {
const successValue = obj.attributes.success;
const success =
successValue === true || successValue === 'true';
logs.push({
timestamp: obj.timestamp || Date.now(),
toolRequest: {
name: bodyMatch[1],
args: obj.attributes.function_args || '{}',
success: obj.attributes.success !== false,
success: success,
duration_ms: obj.attributes.duration_ms || 0,
prompt_id: obj.attributes.prompt_id,
},
Expand All @@ -1157,12 +1160,15 @@ export class TestRig {
obj.attributes &&
obj.attributes['event.name'] === 'gemini_cli.tool_call'
) {
const successValue = obj.attributes.success;
const success =
successValue === true || successValue === 'true';
logs.push({
timestamp: obj.attributes['event.timestamp'],
toolRequest: {
name: obj.attributes.function_name,
args: obj.attributes.function_args,
success: obj.attributes.success,
success: success,
duration_ms: obj.attributes.duration_ms,
prompt_id: obj.attributes.prompt_id,
},
Expand Down
Loading