Skip to content

ci(e2e): apply retry wrapper to prod cypress runs#14882

Open
bobbor wants to merge 4 commits into
mainfrom
ci/fix/cypress-prod-retry
Open

ci(e2e): apply retry wrapper to prod cypress runs#14882
bobbor wants to merge 4 commits into
mainfrom
ci/fix/cypress-prod-retry

Conversation

@bobbor

@bobbor bobbor commented Jul 17, 2026

Copy link
Copy Markdown
Member

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_script branch invoked yarn "$E2E_YARN_SCRIPT" … directly — with no retry — while the dev path and the non-specialized prod path both go through scripts/retry-yarn-script.sh.

Observed impact (run 29569697344): integ_next-use-cases-15 failed 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_COUNT wrapper the dev path uses. Word-splitting semantics were verified against all current yarn_script consumers 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 validated (yaml.safe_load)
  • Verified E2E_RETRY_COUNT is present in the step's env block (same as dev path)
  • Wrapper path matches the sibling invocations under the same working-directory

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bobbor
bobbor requested a review from a team as a code owner July 17, 2026 11:21
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 076a963

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@bobbor bobbor added the run-tests run the pr-label workflow label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-tests run the pr-label workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants