ci(e2e): apply retry wrapper to prod cypress runs#14882
Open
bobbor wants to merge 4 commits into
Open
Conversation
|
soberm
approved these changes
Jul 21, 2026
osama-rizk
approved these changes
Jul 21, 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.
Description of changes
Follow-up to #14880. While analyzing e2e flakiness, we found a retry gap in the Cypress runner: in
callable-e2e-test.yml, the "Run cypress tests for … prod" step's specialized-yarn_scriptbranch invokedyarn "$E2E_YARN_SCRIPT" …directly — with no retry — while the dev path and the non-specialized prod path both go throughscripts/retry-yarn-script.sh.Observed impact (run 29569697344):
integ_next-use-cases-15failed on a single prod attempt (3/75 tests, cascading from one transient 500 in the sample app's API route) with zero retry protection, while its dev counterpart passed 75/75 under the retry wrapper.This change routes the specialized prod invocation through the same
retry-yarn-script.sh -n $E2E_RETRY_COUNTwrapper the dev path uses. Word-splitting semantics were verified against all currentyarn_scriptconsumers in.github/integ-config/integ-all.yml(all single-token args/specs), matching the invocation pattern already used elsewhere in the same file.Testing
yaml.safe_load)E2E_RETRY_COUNTis present in the step's env block (same as dev path)working-directoryBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.