feat(ci): unleash 16-core speed and suppress zombie tests

This commit is contained in:
mkorwel
2026-04-14 19:25:56 -07:00
parent 5517dba650
commit 518f0b0e0d
10 changed files with 147 additions and 38 deletions
@@ -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:
+6
View File
@@ -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 {