Repository navigation
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. |
a55ea07 to
8923c57
Compare
|
Size Change: 0 B Total Size: 1.77 MB ℹ️ View Unchanged
|
8923c57 to
e633dea
Compare
e633dea to
796d147
Compare
796d147 to
0ac1afa
Compare
0ac1afa to
54f0e70
Compare
54f0e70 to
4b1c9c0
Compare
Part of #82783.
What?
Removes the
SimenB/github-actions-cpu-coresdependency from every job that uses it in.github/workflows/unit-test.yml— theunit-js,unit-js-date, andmobile-unit-jsjobs each used this third-party action (via acpu-coresstep output) to determine--maxWorkersfor their Jest runs. It removes every remaining reference in the repository.Why?
Trunk removed this dependency in commit 4d02abd ("Remove dependency used for counting available CPUs", WordPress/gutenberg#78593), switching from a third-party action to a direct
nproccall to report the runner's available CPU count. That commit only touched the JS unit test and date test jobs — it didn't touchmobile-unit-js, which trunk had already removed in #76503, so this branch's copy of that job still uses the action.This PR applies the same fix everywhere on this branch: removes each "Determine the number of CPU cores" step and its
id: cpu-cores, and changes each--maxWorkers=${{ steps.cpu-cores.outputs.count }}reference to--maxWorkers="$(nproc)", matching the pattern already used elsewhere inunit-test.yml. This fully removes theSimenB/github-actions-cpu-coresdependency from the repository.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.