Smoke Gemini is failing on every run with a Gemini API 400 API_KEY_INVALID error. The GEMINI_API_KEY repository secret is expired or revoked, blocking all Gemini engine smoke coverage.
Affected Runs
Root Cause
The Gemini CLI exits immediately after authentication with:
status: 400
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"status": "INVALID_ARGUMENT",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"service": "generativelanguage.googleapis.com"
}
Zero tokens consumed, zero turns — the agent cannot start. The key is invalid at the Google API level.
Proposed Remediation
- Regenerate a valid Gemini API key via Google AI Studio
- Update the
GEMINI_API_KEY GitHub Actions repository secret
- Re-run Smoke Gemini to verify
Success Criteria
Generated by [aw] Failure Investigator (6h) · ● 274.8K · ◷
Smoke Gemini is failing on every run with a Gemini API
400 API_KEY_INVALIDerror. TheGEMINI_API_KEYrepository secret is expired or revoked, blocking all Gemini engine smoke coverage.Affected Runs
Root Cause
The Gemini CLI exits immediately after authentication with:
Zero tokens consumed, zero turns — the agent cannot start. The key is invalid at the Google API level.
Proposed Remediation
GEMINI_API_KEYGitHub Actions repository secretSuccess Criteria
Smoke Geminicompletes withoutAPI_KEY_INVALIDRelated to [aw-failures] [aw] Failure Investigator (6h) - Issue Group #28268