Repository navigation
Repair wp/6.6 branch Actions: Remove the unused flaky test report uploads and reporter - #85110
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
1c49921 to
15db0bc
Compare
15db0bc to
20c7fab
Compare
20c7fab to
c6aae23
Compare
Part of #82784.
What?
Removes the flaky test reporting pieces that nothing uses any more:
.github/workflows/end2end-test.yml: removes the "Archive flaky tests report" step, and the "Merge flaky tests reports" step inmerge-artifacts(the job stays: it also merges the failure artifacts).test/e2e/playwright.config.ts: drops./config/flaky-tests-reporter.tsfrom the CI reporters, leavinggithub, and deletestest/e2e/config/flaky-tests-reporter.ts.docs/contributors/code/testing-overview.md: no longer says flaky tests are reported to GitHub issues. The retry sentence stays: CI still retries failed tests twice.Why?
#82921 removed the
report-to-issuesjob, the only thing that read theflaky-tests-reportartifact and filed[Type] Flaky Testissues. The pieces that produce that artifact stayed, so every e2e run in which a test passes on retry still writesflaky-tests/*.jsonand uploads it, and nothing reads it.How?
The changes sit at the top of the stack so no other PR needs rebasing. No package changes. Left in place:
packages/e2e-tests/config/flaky-tests-reporter.js), its entry inpackages/e2e-tests/jest.config.jsand the comment about it insetup-test-framework.js. They're part of the published@wordpress/e2e-testspackage. This branch's CI doesn't run the Puppeteer suite, so it doesn't run.packages/report-flaky-tests. Nothing runs the action any more, but removing the package changespackage.json,tsconfig.jsonandpackage-lock.json.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code