Gemini CLI PR fixes queued tool calls still executing after scheduler disposal
andreivince · ghdev · 2026-09-21
A community PR (#29432) on google-gemini/gemini-cli fixes a bug where callers stayed pending and queued tool work could still run after scheduler disposal once a blocked batch finished.
- The fix drains the request queue via existing rejection wrappers, removes abort listeners, and checks the disposal signal before accepting new work; repeated disposal stays harmless.
- Regression tests block the active executor behind a promise, verify queued callers settle with listeners removed and tools never run, and cover scheduling after disposal.
- Validation: full macOS preflight with 15,657 tests passed; 180 scheduler-related tests passed on macOS and Linux ARM64 with coverage, plus 30 integration cases. Windows and Docker/Podman/Seatbelt sandbox modes were not tested; no user-facing changes.
More from coding & agent
- User automates entire video clipping workflow with Nous Research's Hermes agent — Teknium · 2026-11-12
- As models improve, writing good evals gets harder and more important — amankhan · 2026-11-12
- Prime agent ships with day-one multi-agent communication, runs in Minecraft unmodified — sarahcat21 · 2026-11-12
- Autonomous agent edits just 1,024 weights to lift Qwen3.5 0.8B from 7.4% to 37.4% on MATH-500 — VictorSanh · 2026-11-12
- AI game jam with Anthropic, Google, OpenAI teams: cash prizes plus $50K continuation grants — chrisfirst · 2026-11-12
- Free AI game jam in SF Nov 14–15 with teams from Anthropic, Google, Meshy, OpenAI — chrisfirst · 2026-11-12