mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Promote stable tests to CI blocking. (#20581)
This commit is contained in:
committed by
GitHub
parent
966b9059d0
commit
05ef2eb362
@@ -88,7 +88,7 @@ describe('Answer vs. ask eval', () => {
|
|||||||
* Ensures that when the user asks a general question, the agent does NOT
|
* Ensures that when the user asks a general question, the agent does NOT
|
||||||
* automatically modify the file.
|
* automatically modify the file.
|
||||||
*/
|
*/
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: 'should not edit files when asked a general question',
|
name: 'should not edit files when asked a general question',
|
||||||
prompt: 'How does app.ts work?',
|
prompt: 'How does app.ts work?',
|
||||||
files: FILES,
|
files: FILES,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ describe('git repo eval', () => {
|
|||||||
* The phrasing is intentionally chosen to evoke 'complete' to help the test
|
* The phrasing is intentionally chosen to evoke 'complete' to help the test
|
||||||
* be more consistent.
|
* be more consistent.
|
||||||
*/
|
*/
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: 'should not git add commit changes unprompted',
|
name: 'should not git add commit changes unprompted',
|
||||||
prompt:
|
prompt:
|
||||||
'Finish this up for me by just making a targeted fix for the bug in index.ts. Do not build, install anything, or add tests',
|
'Finish this up for me by just making a targeted fix for the bug in index.ts. Do not build, install anything, or add tests',
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ Provide the answer as an XML block like this:
|
|||||||
});
|
});
|
||||||
|
|
||||||
const extensionVsGlobalTest = 'Extension memory wins over Global memory';
|
const extensionVsGlobalTest = 'Extension memory wins over Global memory';
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: extensionVsGlobalTest,
|
name: extensionVsGlobalTest,
|
||||||
params: {
|
params: {
|
||||||
settings: {
|
settings: {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ describe('plan_mode', () => {
|
|||||||
experimental: { plan: true },
|
experimental: { plan: true },
|
||||||
};
|
};
|
||||||
|
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: 'should refuse file modification when in plan mode',
|
name: 'should refuse file modification when in plan mode',
|
||||||
approvalMode: ApprovalMode.PLAN,
|
approvalMode: ApprovalMode.PLAN,
|
||||||
params: {
|
params: {
|
||||||
@@ -57,7 +57,7 @@ describe('plan_mode', () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: 'should refuse saving new documentation to the repo when in plan mode',
|
name: 'should refuse saving new documentation to the repo when in plan mode',
|
||||||
approvalMode: ApprovalMode.PLAN,
|
approvalMode: ApprovalMode.PLAN,
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ describe('save_memory', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const rememberingCommandAlias = 'Agent remembers custom command aliases';
|
const rememberingCommandAlias = 'Agent remembers custom command aliases';
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: rememberingCommandAlias,
|
name: rememberingCommandAlias,
|
||||||
params: {
|
params: {
|
||||||
settings: { tools: { core: ['save_memory'] } },
|
settings: { tools: { core: ['save_memory'] } },
|
||||||
@@ -178,7 +178,7 @@ describe('save_memory', () => {
|
|||||||
|
|
||||||
const rememberingCodingStyle =
|
const rememberingCodingStyle =
|
||||||
"Agent remembers user's coding style preference";
|
"Agent remembers user's coding style preference";
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: rememberingCodingStyle,
|
name: rememberingCodingStyle,
|
||||||
params: {
|
params: {
|
||||||
settings: { tools: { core: ['save_memory'] } },
|
settings: { tools: { core: ['save_memory'] } },
|
||||||
@@ -260,7 +260,7 @@ describe('save_memory', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const rememberingBirthday = "Agent remembers user's birthday";
|
const rememberingBirthday = "Agent remembers user's birthday";
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: rememberingBirthday,
|
name: rememberingBirthday,
|
||||||
params: {
|
params: {
|
||||||
settings: { tools: { core: ['save_memory'] } },
|
settings: { tools: { core: ['save_memory'] } },
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ describe('Shell Efficiency', () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
evalTest('USUALLY_PASSES', {
|
evalTest('ALWAYS_PASSES', {
|
||||||
name: 'should NOT use efficiency flags when enableShellOutputEfficiency is disabled',
|
name: 'should NOT use efficiency flags when enableShellOutputEfficiency is disabled',
|
||||||
params: {
|
params: {
|
||||||
settings: {
|
settings: {
|
||||||
|
|||||||
Reference in New Issue
Block a user