Repository navigation
Repair wp/6.6 branch Actions: Remove the broken flaky-test-to-GitHub-issues reporting job - #131
Closed
desrosj wants to merge 1 commit into
Conversation
desrosj
removed this pull request from stack #91
September 10, 2026 19:36
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 10, 2026 19:37
351da83 to
1fa4f58
Compare
desrosj
added this pull request to stack #186
September 10, 2026 19:37
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 10, 2026 23:55
1fa4f58 to
aaf8c3f
Compare
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 11, 2026 00:30
aaf8c3f to
48658e9
Compare
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 11, 2026 01:16
48658e9 to
90420c7
Compare
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 11, 2026 02:38
90420c7 to
12db32e
Compare
desrosj
marked this pull request as ready for review
September 11, 2026 02:48
desrosj
marked this pull request as draft
September 11, 2026 03:22
|
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. |
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
3 times, most recently
from
September 14, 2026 17:39
f6c73a6 to
e4eecef
Compare
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 14, 2026 19:19
e4eecef to
a9afb0c
Compare
desrosj
marked this pull request as ready for review
September 14, 2026 23:59
…2end-test.yml`. `report-to-issues` always checks out `ref: trunk` before 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 executes. Trunk has since retired the `npm run build:packages` script this job's "Npm build" step depends on, as part of migrating `report-flaky-tests` to run directly from TypeScript source via Node 24's native type-stripping (WordPress#81218, "Flaky tests: Report as a PR comment only, stop creating issues"). Reproducing the job's own command against trunk's current `package.json` confirms the exact failure: npm error Missing script: "build:packages" Because the job tracks a moving target 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 version 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 only ever posted flaky-test summaries as GitHub issues and never gated the build. The `has-flaky-test-report` output on `merge-artifacts` is also removed, since `report-to-issues` was its only consumer.
desrosj
force-pushed
the
fix-actions-6.6/disable-flaky-test-issue-reporting
branch
from
September 15, 2026 00:11
a9afb0c to
60b070a
Compare
desrosj
removed this pull request from stack #186
September 15, 2026 00:25
desrosj
added this pull request to stack #354
September 15, 2026 00:26
Owner
Author
|
Migrated to real upstream: WordPress#82921. Closing this fork PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.