Repository navigation
fix(combo): fall back on Responses SSE failures - #7172
rushsinging wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces upstream error detection for SSE streams in validateResponseQuality, allowing the combo service to failover early when encountering pre-content errors. It also adds comprehensive unit tests in tests/unit/ to validate this behavior. The review feedback correctly identifies a potential runtime TypeError in the new isStreamingUpstreamError helper if the parsed payload is not a plain object, and provides a robust code suggestion to safely guard the property checks.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
Superseded by #7256, which ports the same fix onto release/v3.8.49. |
Summary
The detector covers response.failed events, event:error envelopes, top-level error payloads, and nested failed/error response states. It reports a generic validation reason and does not expose the upstream error message.
Evidence
No docs/superpowers files are included.