Gemini CLI patches a release race by retrying npm dist-tag removal

IshankDev · ghdev · 2026-07-26

A PR to google-gemini/gemini-cli fixes a nightly release failure caused by npm dist-tag rm staging-tmp running before the tag became queryable after publish.

The patch adds a retrying helper script, scripts/remove-npm-dist-tag.js, and reuses it across core, CLI, and A2A publish steps. It retries on the specific propagation race, fails fast on unrelated errors, and adds test coverage for success, retry, non-retryable failures, and exhausted retries.

Original post →

More from coding & agent

coding & agent channel →