A reproduced Google-provider error-schema defect, focused patch, and regression fixture that Vercel approved and transferred into factory PR #18662, merged upstream on August 11, 2026.
Role
Category
Provider Reliability
Engineering discipline
MERGED UPSTREAM
Patrick Ribbsaeter · Independent open-source contribution
Engineering objective
Gemini 429 responses can carry google.rpc.QuotaFailure and google.rpc.RetryInfo payloads, but the Google provider schema stripped error.details before the parsed response reached APICallError.data. Applications therefore lost provider-supplied retry timing unless they reparsed the raw response body.
Constraints
Architecture
Approach
Reproduced the detail loss through the existing Google failed-response handler.
Extended the schema with a nullish array of unknown detail payloads.
Added a representative Gemini 429 fixture containing QuotaFailure, RetryInfo, and retryDelay 34.4s.
Verified that both structured entries survive parsing into APICallError.data.
Kept the patch additive and isolated to the Google provider’s existing error path.
Workflow
Technical validation
Observable engineering evidence. Discipline: MERGED UPSTREAM
Merged upstream
Vercel PR #18662
Original contribution
PR #18629 · approved
Regression path
Gemini HTTP 429
Reviewed risk
Low / additive
Public evidence
Outcome
Vercel factory PR #18662 merged the accepted fix upstream on August 11, 2026
Vercel’s bugfix review marked the issue fully addressed with low side-effect and security risk
The original reproduction no longer reproduced against the factory implementation
Structured QuotaFailure and RetryInfo values now survive parsing without changing retry policy
Technologies
Next engineering system
ANTHROPIC SDK · PUBLIC VALIDATION
Have an ambitious AI system to build?
I work across AI architecture, product engineering, private inference, automation, SaaS infrastructure, and production hardening.