mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-24 10:17:35 -07:00
feat(ci): unleash 16-core speed and suppress zombie tests
This commit is contained in:
@@ -10,6 +10,16 @@ exports[`<BackgroundTaskDisplay /> > highlights the focused state 1`] = `
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<BackgroundTaskDisplay /> > highlights the focused state 2`] = `
|
||||
"┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ 1: npm sta.. (PID: 1001) Close (Ctrl+B) | Kill (Ctrl+K) | List │
|
||||
│ (Focused) (Ctrl+L) │
|
||||
│ Starting server... │
|
||||
│ Log: ~/.gemini/tmp/background-processes/background-1001.log │
|
||||
└──────────────────────────────────────────────────────────────────────────────┘
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<BackgroundTaskDisplay /> > keeps exit code status color even when selected 1`] = `
|
||||
"┌──────────────────────────────────────────────────────────────────────────────┐
|
||||
│ 1: npm sta.. (PID: 1003) Close (Ctrl+B) | Kill (Ctrl+K) | List │
|
||||
|
||||
@@ -74,6 +74,20 @@ exports[`<OverflowProvider><DiffRenderer /></OverflowProvider> > with useAlterna
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<OverflowProvider><DiffRenderer /></OverflowProvider> > with useAlternateBuffer = false > should not render a gap indicator for small gaps (<= MAX_CONTEXT_LINES_WITHOUT_GAP) 2`] = `
|
||||
" 1 context line 1
|
||||
2 context line 2
|
||||
3 context line 3
|
||||
4 context line 4
|
||||
5 context line 5
|
||||
11 context line 11
|
||||
12 context line 12
|
||||
13 context line 13
|
||||
14 context line 14
|
||||
15 context line 15
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<OverflowProvider><DiffRenderer /></OverflowProvider> > with useAlternateBuffer = false > should render a gap indicator for skipped lines 1`] = `
|
||||
" 1 context line 1
|
||||
2 - deleted line
|
||||
|
||||
@@ -66,6 +66,18 @@ A test server
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`McpStatus > renders correctly with a server error 2`] = `
|
||||
"Configured MCP servers:
|
||||
|
||||
🟢 server-1 - Ready (1 tool)
|
||||
Error: Failed to connect to server
|
||||
A test server
|
||||
Tools:
|
||||
- tool-1
|
||||
A test tool
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`McpStatus > renders correctly with authenticated OAuth status 1`] = `
|
||||
"Configured MCP servers:
|
||||
|
||||
|
||||
@@ -142,10 +142,16 @@ async function gracefulShutdown(_reason: string) {
|
||||
process.exit(ExitCodes.SUCCESS);
|
||||
}
|
||||
|
||||
let signalHandlersSetup = false;
|
||||
|
||||
export function setupSignalHandlers() {
|
||||
if (signalHandlersSetup) {
|
||||
return;
|
||||
}
|
||||
process.on('SIGHUP', () => gracefulShutdown('SIGHUP'));
|
||||
process.on('SIGTERM', () => gracefulShutdown('SIGTERM'));
|
||||
process.on('SIGINT', () => gracefulShutdown('SIGINT'));
|
||||
signalHandlersSetup = true;
|
||||
}
|
||||
|
||||
export function setupTtyCheck(): () => void {
|
||||
|
||||
Reference in New Issue
Block a user