Skip to content

Cancel superseded Test All runs on pull requests - #59636

Open
cipolleschi wants to merge 1 commit into
cipolleschi/e2e-ios-1-retry-policyfrom
cipolleschi/e2e-ios-2-concurrency
Open

cipolleschi wants to merge 1 commit into
cipolleschi/e2e-ios-1-retry-policyfrom
cipolleschi/e2e-ios-2-concurrency

Conversation

@cipolleschi

@cipolleschi cipolleschi commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Stack (iOS RNTester E2E cost, review bottom-up):

  1. Retry failing iOS E2E flows once and stop rerunning real failures #59635
  2. Cancel superseded Test All runs on pull requests #59636 ← this PR
  3. Run iOS E2E flows in a single Maestro invocation #59637
  4. Run the FlatList maintainVisibleContentPosition E2E flows in Release only on iOS #59638
  5. Deep-link into the FlatList maintainVisibleContentPosition example in E2E flows #59639
  6. Overlap simulator boot with the rest of the iOS E2E setup #59640
  7. Fail iOS RNTester E2E straight away when the app artifact is missing #59641
  8. Run iOS RNTester E2E tests on Apple Silicon runners #59642

Summary:

Part 2 of the iOS E2E cost stack.

Test All has no concurrency group, so a new push to a pull request leaves the previous run going until it finishes. Phabricator-exported branches get pushed repeatedly (one had 8 runs in a day). Over Oct 27–29, ~40% of the macOS minutes spent on the iOS RNTester E2E jobs went to runs whose pull request had already received a newer push. This overlaps with the retry minutes addressed in part 1.

Cancel in-progress runs of the same pull request. Push and workflow_dispatch runs each get a unique group (github.run_id), so runs on main and *-stable are never cancelled.

visual-compare-rntester.yml (triggered by Test All's workflow_run) already ignores cancelled runs.

Changelog:

[INTERNAL] [CHANGED] - Cancel superseded Test All runs on pull requests

Test Plan:

  • actionlint reports no new issues.
  • After this lands, pushing twice to a PR should cancel the first Test All run.

Test All had no concurrency group, so every push to a pull request left
the previous run going to completion. Over Oct 27-29 about 40% of the
macOS minutes spent on iOS E2E went to runs whose pull request had
already received a newer push.

Cancel in-progress runs of the same pull request. Push and
workflow_dispatch runs get a unique group and are never cancelled.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant