Gemini CLI Fixes Crash During Git Authentication
ehsan-fj · ghdev · 2026-09-02
This PR fixes a crash in the Gemini CLI occurring within restricted permission environments like macOS Seatbelt. Previously, the CLI would monitor the .git directory via the useGitBranchName hook; if permissions triggered an unhandled asynchronous error event, the Node process would terminate. The update adds an error listener to the file watcher to handle errors gracefully without crashing the CLI, and includes a new unit test to verify the fix.
More from coding & agent
- Developer asks: is LangChain still worth it vs rolling your own agent harness? — curious_vii · 2026-09-03
- Inference Engineering Is Just a Recipe: vLLM/SGLang, Replicas, Cache-Aware Routing — GabGarrett · 2026-09-03
- Developer accidentally built an entire agent factory with Fable 5.1 — 0xkarasy · 2026-09-03
- Microsoft adds Fabric data agents to Foundry agents via Fabric IQ (preview) — adnan_hashmi · 2026-09-03
- Databricks pitches agent-native data infrastructure, Lakebase Postgres at VLDB 2026 — matei_zaharia · 2026-09-03
- doodlestein ships a comprehensive web app review skill after months of debugging — doodlestein · 2026-09-03