Skip to content

chore(e2e): retry flaky Maestro runs without rebuilding apps#130

Merged
floydkim merged 3 commits intomasterfrom
chore/e2e-maestro-retry-after-build
Mar 1, 2026
Merged

chore(e2e): retry flaky Maestro runs without rebuilding apps#130
floydkim merged 3 commits intomasterfrom
chore/e2e-maestro-retry-after-build

Conversation

@floydkim
Copy link
Collaborator

@floydkim floydkim commented Mar 1, 2026

Background

In the E2E matrix, flaky failures in maestro/maestro-runner after build completion (especially iOS) forced reruns of expensive build steps.

Changes

1) Added retry support to e2e/run.ts

  • --retry-count (default: 1)
  • --retry-delay-sec (default: 10)
  • Wrapped each Maestro execution block with withRetry(...)

2) Enabled retries in GitHub Actions

  • .github/workflows/e2e-matrix.yml
    • iOS: pass E2E_RETRY_COUNT=3 and E2E_RETRY_DELAY_SEC=30
    • Android: pass --retry-count 3 --retry-delay-sec 30

Expected Impact

Reuses completed builds and retries only flaky post-build E2E steps, reducing total rerun cost and wait time.

@floydkim floydkim marked this pull request as ready for review March 1, 2026 14:07
@floydkim floydkim merged commit 69c658f into master Mar 1, 2026
23 of 44 checks passed
@floydkim floydkim deleted the chore/e2e-maestro-retry-after-build branch March 1, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant