René's URL Explorer Experiment


Title: Split the Behat tests with code coverage across runners by schlessera · Pull Request #316 · wp-cli/.github · GitHub

Open Graph Title: Split the Behat tests with code coverage across runners by schlessera · Pull Request #316 · wp-cli/.github

X Title: Split the Behat tests with code coverage across runners by schlessera · Pull Request #316 · wp-cli/.github

Description: The Behat job with code coverage ran every scenario one after the other under Xdebug, and took most packages far longer than any other job. In wp-cli/wp-cli it took 45–48 min, while every other job finished in under 6. Changes PCOV instead of Xdebug by default, through the new coverage-driver input. PCOV only instruments the files under pcov.directory, set to the checkout. Xdebug instruments every file PHP loads, all of WordPress included. PCOV alone halved the job time. Coverage now runs as a job of its own, split across runners by WP_CLI_TEST_SHARD, each runner with 4 parallel workers. Packages get one runner per 50 scenarios, up to the new coverage-shards input (default 4), because every runner spends about a minute on its setup. A matrix entry can set its own number with coverage_shards. One Codecov upload. The shards keep their reports as artifacts, and a final job uploads all of them in one go once every shard has passed. Codecov still sees one feature upload per commit, so settings like wp-cli/wp-cli's after_n_builds: 2 keep working. Older wp-cli-tests: with versions that can't shard, the first runner runs every scenario and the others skip, so coverage stays complete and each scenario runs once. Results in wp-cli/wp-cli Measured with wp-cli/wp-cli-tests#420: Setup Coverage job (slowest shard) Before: Xdebug, one process 45–48 min PCOV, 4 workers, 1 runner 8–12 min PCOV, 4 workers, 4 runners 3.7–4.2 min Workflow time: the whole Testing workflow went from ~49 min to ~6 min, so coverage no longer sets the overall time. Coverage numbers: feature coverage was 64.97% against 65.13% before. The difference is mostly global statements, which Xdebug counts and PCOV doesn't. Fallback on CI: tested in media-command, which is still on a wp-cli-tests release without sharding (run). It got 2 runners: the first ran all 75 scenarios, the second skipped in 44 s, and one report was uploaded. actionlint is clean. 🤖 Generated with Claude Code

Open Graph Description: The Behat job with code coverage ran every scenario one after the other under Xdebug, and took most packages far longer than any other job. In wp-cli/wp-cli it took 45–48 min, while every other job...

X Description: The Behat job with code coverage ran every scenario one after the other under Xdebug, and took most packages far longer than any other job. In wp-cli/wp-cli it took 45–48 min, while every other job...

Opengraph URL: https://github.com/wp-cli/.github/pull/316

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d91dbc5d-b55f-99ec-f49c-1e986c600e5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA9F2:281AE:1DAFB:27A75:6AFBAAE2
html-safe-nonce6bbfaeec48ae39e3e0509fcb36dc2aac491299b343d908eb4ee2e6e46a177e37
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUYyOjI4MUFFOjFEQUZCOjI3QTc1OjZBRkJBQUUyIiwidmlzaXRvcl9pZCI6IjE3NDUyODY0NTgxNzc3MjcyMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8cf7d3a27f1fa3b68509ba0158b722fc342b37dbdbb152aecec7fab289e7e49d
hovercard-subject-tagpull_request:5118570728
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/wp-cli/.github/pull/316/files
twitter:imagehttps://avatars.githubusercontent.com/u/83631?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/83631?s=400&v=4
og:image:altThe Behat job with code coverage ran every scenario one after the other under Xdebug, and took most packages far longer than any other job. In wp-cli/wp-cli it took 45–48 min, while every other job...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/wp-cli/.github git https://github.com/wp-cli/.github.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id181716041
octolytics-dimension-repository_nwowp-cli/.github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id181716041
octolytics-dimension-repository_network_root_nwowp-cli/.github
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release08c8f17f9d27054a108b8b6254e405de0151f660
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/wp-cli/.github/pull/316/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2F.github%2Fpull%2F316%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2F.github%2Fpull%2F316%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=wp-cli%2F.github
Reloadhttps://github.com/wp-cli/.github/pull/316/files
Reloadhttps://github.com/wp-cli/.github/pull/316/files
Reloadhttps://github.com/wp-cli/.github/pull/316/files
wp-clihttps://github.com/wp-cli
.githubhttps://github.com/wp-cli/.github
Codehttps://github.com/wp-cli/.github
Issueshttps://github.com/wp-cli/.github/issues
Pull requests1 (1)https://github.com/wp-cli/.github/pulls
Actionshttps://github.com/wp-cli/.github/actions
Security and qualityhttps://github.com/wp-cli/.github/security
Insightshttps://github.com/wp-cli/.github/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fwp-cli%2F.github%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fwp-cli%2F.github%2Fissues%2Fnew%2Fchoose
schlesserahttps://github.com/schlessera
mainhttps://github.com/wp-cli/.github/tree/main
ci/coverage-shardshttps://github.com/wp-cli/.github/tree/ci/coverage-shards
Conversation 1 https://github.com/wp-cli/.github/pull/316
Commits 3 https://github.com/wp-cli/.github/pull/316/commits
Checks 18 https://github.com/wp-cli/.github/pull/316/checks
Files changed https://github.com/wp-cli/.github/pull/316/files
Please reload this pagehttps://github.com/wp-cli/.github/pull/316/files
Split the Behat tests with code coverage across runners https://github.com/wp-cli/.github/pull/316/files#top
Show all changes 3 commits https://github.com/wp-cli/.github/pull/316/files
d96f31a Split the Behat tests with code coverage across runners schlessera Nov 2, 2026 https://github.com/wp-cli/.github/pull/316/commits/d96f31a52603a7c380852b3d83b01c88b8df4320
0df7772 Split the Behat coverage across 4 runners by default schlessera Nov 2, 2026 https://github.com/wp-cli/.github/pull/316/commits/0df77727fa4535cb611d35801a957c0dbf27040e
04d2d0d Size the coverage shards to the package, and cope without sharding su… schlessera Nov 2, 2026 https://github.com/wp-cli/.github/pull/316/commits/04d2d0dbc9b17d3d30bb59221244e2694c6d12d9
Clear filters https://github.com/wp-cli/.github/pull/316/files
Please reload this pagehttps://github.com/wp-cli/.github/pull/316/files
Please reload this pagehttps://github.com/wp-cli/.github/pull/316/files
reusable-functional.yml https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
reusable-testing.yml https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/blob/main/.github/CODEOWNERS#L1
.github/workflows/reusable-functional.ymlhttps://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
View file https://github.com/wp-cli/.github/blob/04d2d0dbc9b17d3d30bb59221244e2694c6d12d9/.github/workflows/reusable-functional.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/wp-cli/.github/pull/316/{{ revealButtonHref }}
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/pull/316/files#diff-79ac4b6d705f5a06ce801eb173de2440ccea65e8dadf5436d3901ee6ed0f43f7
https://github.com/wp-cli/.github/blob/main/.github/CODEOWNERS#L1
.github/workflows/reusable-testing.ymlhttps://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
View file https://github.com/wp-cli/.github/blob/04d2d0dbc9b17d3d30bb59221244e2694c6d12d9/.github/workflows/reusable-testing.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/wp-cli/.github/pull/316/{{ revealButtonHref }}
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
https://github.com/wp-cli/.github/pull/316/files#diff-f11b4c4b9064be0a4dfcbd44ba3e091458154fded3f41d66b37b2b155b5e7657
Please reload this pagehttps://github.com/wp-cli/.github/pull/316/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.