Add weekly testing digest workflow for #core-test#155
Add weekly testing digest workflow for #core-test#155juanmaguitar wants to merge 2 commits intoWordPress:trunkfrom
Conversation
Adds a scheduled GitHub Actions workflow that collects open "Needs Testing" counts from both Gutenberg (via GitHub Search API) and WordPress Trac (via headless browser to bypass bot protection), then posts a digest to #core-test via a Slack Workflow webhook. Refs WordPress#131 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
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. |
|
@3kori I didn't understand where the express server will be running to fetch the trac ticket results? Does Slack handle that? |
I tested @3kori 's code and it works correctly with both Playwright and Puppeteer. |
|
@3kori @juanmaguitar @ozgursar I've tried using the mock-server.js. I've getting below in the console. |
|
This is the repo I made to test this workflow: Weekly Digest Test repo. |
That's the correct output, but it needs a few changes to work smoothly with Slack. |











Summary
Adds a scheduled GitHub Actions workflow that posts a weekly testing backlog digest to
#core-test, addressing #131.workflow_dispatchHow it works
The workflow runs
.github/scripts/weekly-testing-digest.mjswhich:Sample output (dry-run)
What's needed to activate
#core-testneeds to create a Slack Workflow that accepts the webhook payload and formats the messageSLACK_WEEKLY_TESTING_DIGEST_WEBHOOK_URLto this repo's Actions secrets with the webhook URL from step 1Until the secret is configured, the workflow runs in dry-run mode and logs the payload.
Payload format (for the Slack Workflow)
{ "gutenberg_issue_count": "8", "gutenberg_pr_count": "0", "gutenberg_total": "8", "trac_milestones": [{"milestone": "7.0", "count": 2}, {"milestone": "7.1", "count": 8}], "trac_total": "10", "gutenberg_issues_url": "...", "gutenberg_prs_url": "...", "trac_url": "https://core.trac.wordpress.org/tickets/needs-testing", "date": "2026-04-16" }Test plan
🤖 Generated with Claude Code