Prerequisites
Toolbox version
0.22.0
Environment
No response
Client
Expected Behavior
When Spanner environment variables are exported, the Gemini CLI extension for Spanner should initialize the connection successfully. It should allow querying the database (e.g., "list tables") without dropping the connection.
Current Behavior
When the Spanner extension is enabled (either alone or with others):
- The CLI reports "Connection closed" for the Spanner database immediately.
- Despite this error, if I issue a prompt (e.g., "list tables"), the tool attempts to debug by running an echo command to check environment variables.
- The tool successfully reads and displays the correctly exported variables (via the echo check), proving the environment is set up correctly.
- However, the actual database connection remains failed, and it does not return the table list.
Testing Metrics:
Spanner Only: Connection closed (Variables verified via echo)
Spanner + AlloyDB + Cloud SQL: Connection closed (Variables verified via echo)
Steps to reproduce?
- Export valid Spanner environment variables.
- Start the Gemini CLI with the Spanner extension enabled.
- Observe the immediate "Connection closed" error for Spanner.
- Attempt a command like "List tables".
- Observe that the tool runs a check (echoing variables) which succeeds, confirming variables are present, yet the connection error persists.
Additional Details
No response
Prerequisites
Toolbox version
0.22.0
Environment
No response
Client
Expected Behavior
When Spanner environment variables are exported, the Gemini CLI extension for Spanner should initialize the connection successfully. It should allow querying the database (e.g., "list tables") without dropping the connection.
Current Behavior
When the Spanner extension is enabled (either alone or with others):
Testing Metrics:
Spanner Only: Connection closed (Variables verified via echo)
Spanner + AlloyDB + Cloud SQL: Connection closed (Variables verified via echo)
Steps to reproduce?
Additional Details
No response