gemini-cli Fix: One Bad Extension No Longer Breaks Loading for All

jesussamuel-byte · ghdev · 2026-10-12

PR #29720 in google-gemini/gemini-cli fixes a fault-tolerance bug in extension loading.

When an allowedExtensions list is configured, a single extension directory that cannot be checked against it made every extension fail to load. Two triggers:

Both errors were thrown from ExtensionManager.buildExtension() outside its per-extension error handling, so the Promise.all in loadExtensions() rejected and callers such as extensions list exited with an error instead of listing the extensions that were fine.

The fix skips only the affected directory, logs a warning, and loads the rest.

Original post →

More from coding & agent

coding & agent channel →