Repository navigation
Don't fail Compose performance review workflow on transient Gemini 50… - #1746
Merged
Merged
Conversation
…3/high-demand errors Prevents the `compose-performance-review` GitHub Actions job from failing PRs when the Gemini API returns transient capacity/availability errors (e.g., `503 Service Unavailable` / `"This model is currently experiencing high demand"`). - Sets `continue-on-error: true` on `Run Jetpack Compose Performance Skill` (`gemini_review`). - Adds a `Check Gemini Review Failure` step that inspects `steps.gemini_review.outputs.error` and the tail of `gemini-artifacts/stderr.log`: - Emits a `::warning::` and job summary note and exits `0` for transient capacity/availability errors (`503`/`429`, `UNAVAILABLE`, `RESOURCE_EXHAUSTED`, `RetryableQuotaError`, `experiencing high demand`, `model is overloaded`, `service unavailable`, `TypeError: fetch failed`). - Still exits `1` for non-transient failures (e.g., auth/config errors) so real workflow breakage isn't hidden. - Guards `Post Findings on Pull Request` with `steps.gemini_review.outcome == 'success'` so failed runs never post partial comments.
riggaroo
reviewed
Dec 1, 2026
| jobs: | ||
| build: | ||
| name: build | ||
| name: build / build |
Contributor
Author
There was a problem hiding this comment.
Added this because build / build (required by branch protection) never triggers on PRs that only touch .github/workflows/ — default-check.yml ran as build, leaving build / build permanently stuck on Expected — Waiting for status to be reported. Renaming the job to build / build satisfies the required check.
riggaroo
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevents the
compose-performance-reviewGitHub Actions job from failing PRs when the Gemini API returns transient capacity/availability errors (e.g.,503 Service Unavailable/"This model is currently experiencing high demand").continue-on-error: trueonRun Jetpack Compose Performance Skill(gemini_review).Check Gemini Review Failurestep that inspectssteps.gemini_review.outputs.errorand the tail ofgemini-artifacts/stderr.log:::warning::and job summary note and exits0for transient capacity/availability errors (503/429,UNAVAILABLE,RESOURCE_EXHAUSTED,RetryableQuotaError,experiencing high demand,model is overloaded,service unavailable,TypeError: fetch failed).1for non-transient failures (e.g., auth/config errors) so real workflow breakage isn't hidden.Post Findings on Pull Requestwithsteps.gemini_review.outcome == 'success'so failed runs never post partial comments.