-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Open
Epic
5 / 65 of 6 issues completed
Copy link
Labels
area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Description
Overview
Recent production issues highlighted fragility in how the Gemini CLI parses backend API responses. Specifically, changes in internal proto definitions that added new metadata-only messages (e.g., credit consumption) caused client-side crashes because the CLI assumed certain fields (like `candidates`) would always be present.
This epic tracks the work to move toward a "defensive by default" parsing strategy, ensuring the CLI is resilient to backend changes and providing better visibility into parsing failures.
Goals
- Ensure all API response fields are handled as optional.
- Enforce optionality via type-checking or linting.
- Improve observability and alerting for parsing errors.
- Enhance testing (Integration & Fuzzing) to catch edge cases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmtworkstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.