-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Description
What happened?
Gemini CLI had successfully created a file, and was proposing to add around 700 lines to the new file, as part of a test migration in our codebase. Gemini CLI was waiting for user confirmation to apply the change. I was inspecting the proposed change when, after about 10 seconds, Gemini CLI crashed with the following output in the debug console:
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Debug Console (ctrl+o to close) │
│ │
│ ℹ Authenticated via "gemini-api-key". │
│ ✖ ========================================= │
│ This is an unexpected error. Please file a bug report using the /bug tool. │
│ CRITICAL: Unhandled Promise Rejection! │
│ ========================================= │
│ Reason: McpError: MCP error -32001: Request timed out │
│ Stack trace: │
│ McpError: MCP error -32001: Request timed out │
│ at Timeout.timeoutHandler │
│ (file:///tmp/sar.gemini.379813.595cb9d4f1e27bcc11495796e78245bdf3d784c8/gemini_impl.runfiles/google3/third_party/javascript/node_modules/google_gemini_c │
│ li/gemini.mjs:149511:47) │
│ at listOnTimeout (node:internal/timers:581:17) │
│ at process.processTimers (node:internal/timers:519:7) (x3) │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
I was unfortunately not able to run /bug in the Gemini CLI where this occurred, as it would no longer accept any input.
What did you expect to happen?
I expected Gemini CLI to not crash. I expected it to wait for my response to its request for user confirmation.
Client information
- CLI Version: 0.6.0-nightly-git.1be38d8f
- Git Commit: 1be38d8
- Session ID: d48099e1-1850-4283-84d4-82a08c21cd42
- Operating System: linux v22.5.1
- Sandbox Environment: no sandbox
- Model Version: gemini-for-google-2p5-pro
- Memory Usage: 212.4 MB
- IDE Client: IDE
Login information
No response
Anything else we need to know?
I don't believe I was doing anything unusual.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status