Gemini CLI PR fixes duration formatter so 999.5ms displays as 1.0s at unit boundaries
likhith-adithya · ghdev · 2026-10-11
A PR against google-gemini/gemini-cli fixes formatDuration so values rounding across a unit boundary pick the next unit instead of showing 1000ms or 60.0s. Rounding now happens at the displayed precision before unit selection.
Regression tests cover millisecond, minute, and hour boundaries (999.5ms → 1.0s, 59950ms → 1m, 3599999ms → 1h). Preflight shows 8,321 core tests passing; no breaking changes.
More from coding & agent
- Agent trace eval guide: matching full-trace LLM reads at ~80% lower token cost — CShorten30 · 2026-12-02
- mdsvex 1.0 ships: full rewrite makes it a general-purpose markdown toolkit beyond Svelte — erhannah · 2026-12-02
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Why a single passing agent test is mathematically meaningless — abenko83 · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02