fix: remove global-setup REST warm-up that hung CI for 30 minutes - #30
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #30 +/- ##
=========================================
Coverage 63.90% 63.90%
Complexity 35 35
=========================================
Files 7 7
Lines 266 266
=========================================
Hits 170 170
Misses 96 96
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
josephfusco
force-pushed
the
fix/revert-hanging-globalsetup-warmup
branch
from
August 19, 2026 04:30
4e84f84 to
9eb2226
Compare
Collaborator
Author
|
Playwright Tests had three separate causes, fixed in order:
Verified locally against a cold wp-env restart and the CI-exact |
josephfusco
force-pushed
the
fix/revert-hanging-globalsetup-warmup
branch
from
August 19, 2026 16:10
9198778 to
b33e901
Compare
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.
The last main run (from #28's merge) ran "Run Playwright tests" for 26 minutes with zero test output ever produced, hitting the job's 30-minute cap and getting force-killed. Traced this to the RequestUtils REST warm-up I added to global-setup.ts in a previous PR: it's the first thing that runs, and something about it hangs indefinitely in real CI (never reproduced this locally, which is exactly the risk of trusting an untested-in-CI addition).
The two actual fixes from this session (Gutenberg auto-enabling the collaboration experiment, and the corrected filter-detection notice) don't depend on this warm-up at all. Verified locally against a genuinely cold-started wp-env: 11/11 passing in ~22s with it removed entirely.
Use of AI Tools
Assisting with diagnosing the hang from CI logs and implementing the revert.