Skip to content

Retry the Unit Tests job once on failure - #25973

Queued
crazytonyli wants to merge 1 commit into
trunkfrom
task/retry-unit-tests-job-on-failure
Queued

Retry the Unit Tests job once on failure#25973
crazytonyli wants to merge 1 commit into
trunkfrom
task/retry-unit-tests-job-on-failure

Conversation

@crazytonyli

@crazytonyli crazytonyli commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Retry once on any failure. The suite occasionally hits a Core Data crash when parallel Swift Testing suites touch the test stack at the same time. The existing retry mechanism in the test plan only works on XCTest, not Swift Testing tests.

The suite intermittently crashes when parallel Swift Testing suites
touch the Core Data test stack at the same time. A fresh run in a new
process clears it, so retry the job once on any failure.
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@crazytonyli
crazytonyli requested a review from jkmassel September 2, 2026 00:38
@crazytonyli crazytonyli added the Testing Unit and UI Tests and Tooling label Sep 2, 2026
@crazytonyli crazytonyli added this to the 27.3 milestone Sep 2, 2026
@crazytonyli
crazytonyli marked this pull request as ready for review September 2, 2026 00:39
@crazytonyli
crazytonyli requested a review from a team as a code owner September 2, 2026 00:39
@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number34148
VersionPR #25973
Bundle IDorg.wordpress.alpha
Commit6a9efe0
Installation URL3qslf29p2havg
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number34148
VersionPR #25973
Bundle IDcom.jetpack.alpha
Commit6a9efe0
Installation URL774eped74g2h8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@jkmassel jkmassel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth a shot, though I'd love to fix these issues at their source :)

@jkmassel
jkmassel added this pull request to the merge queue Sep 2, 2026
Any commits made after this event will not be merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing Unit and UI Tests and Tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants