Repository navigation
Repair wp/6.6 branch Actions: Remove the broken flaky-test issue reporting job - #82921
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 ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the 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. |
6fec339 to
a259cd7
Compare
|
Size Change: 0 B Total Size: 1.73 MB ℹ️ View Unchanged
|
a259cd7 to
17ea30b
Compare
17ea30b to
f2984a3
Compare
f2984a3 to
a4a0c58
Compare
a4a0c58 to
7c68b8f
Compare
7c68b8f to
8850796
Compare
8850796 to
eb0caae
Compare
wp/6.6 branch Actions: Remove the broken flaky-test-to-GitHub-issues reporting jobwp/6.6 branch Actions: Remove the broken flaky-test issue reporting job
Part of #82784.
What?
Removes
end2end-test.yml'sreport-to-issuesjob, which posts flaky end-to-end test summaries as GitHub issues, along with thehas-flaky-test-reportoutput onmerge-artifactsthat fed it (its only consumer).Why?
report-to-issuesdoesactions/checkout … ref: trunkbefore building and running./packages/report-flaky-tests— so it never runs this branch's own frozen copy of the action, it runs whatever is on live current trunk at the time the job happens to execute. Trunk has since retired thenpm run build:packagesscript this job's "Npm build" step calls, as part of migratingreport-flaky-teststo run directly from TypeScript source via Node 24's native type-stripping (WordPress/gutenberg#81218, "Flaky tests: Report as a PR comment only, stop creating issues").Reproducing the job's own build command against trunk's current
package.jsonconfirms the exact failure:This branch's most recent
end2end-test.ymlrun (fix-actions-6.6/fix-wp-env-debian-buster, run 33230071941) happened to have this job report asskippedrather thanfailure, because the upstreame2e-playwrightjobs failed outright and no flaky-tests-report artifact was ever produced formerge-artifactsto hand off — but the underlying breakage is unconditional: any time the job's guard condition (needs.merge-artifacts.outputs.has-flaky-test-report == 'true') is met, it will fail with the error above, since it depends on a script that no longer exists on trunk.Because the job tracks a moving target (trunk) instead of this branch's own commit, it will keep breaking in step with trunk's tooling regardless of anything on this frozen, security-maintenance-only branch — this is a structural failure mode, not a one-time regression.
Retrofitting the job to match trunk's current implementation was considered and rejected: trunk's replacement is not just a CI fix but a product-policy change (flaky tests are now reported as PR comments instead of filed as GitHub issues), which is out of scope for a security-maintenance branch. Removing the job only drops an automated notification; it has no effect on actual test-correctness signal, since it never gated the build and only ever posted flaky-test summaries as GitHub issues.
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.