Repository navigation
Conversation
|
Test on Playground |
✅ Code Coverage Report
🎉 Great job maintaining/improving code coverage! ℹ️ About this report
|
…abeled events. On opened, synchronize, or reopened, it may be empty or missing, work around that
… and more reliable
The success-path console.log debug statements wrote to stdout, which
BLUEPRINT=$(node ...) captured along with the actual blueprint JSON.
The resulting base64 payload decoded to "PR Labels: []\nPlugin slugs:
[]\n{...}" — invalid JSON that playground.wordpress.net could not parse,
breaking the preview link. Switch the three debug logs to console.error
so only the blueprint JSON lands on stdout.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
There was an error in the Playground link, JSON was malformed: to fix other issues (now failed workflows), we should first merge #764 and then update this branch and see what is left |
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
103 |
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information. |
📁 classes/suggested-tasks/providers/class-content-review.php (4 warnings)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
232 |
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information. |
377 |
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information. |
381 |
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information. |
388 |
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in | Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://docs.wpvip.com/databases/optimize-queries/using-post__not_in/ for more information. |
📁 classes/activities/class-query.php (2 warnings)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
71 |
PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $table_name used in $wpdb->query()\n$table_name assigned unsafely at line 58. |
163 |
PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $where_args used in $wpdb->get_results()\n$where_args assigned unsafely at line 153. |
📁 classes/suggested-tasks/data-collector/class-yoast-orphaned-content.php (1 warning)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
111 |
PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $query used in $wpdb->get_row()\n$query assigned unsafely at line 98. |
📁 classes/suggested-tasks/data-collector/class-terms-without-description.php (1 warning)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
108 |
PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 106. |
📁 classes/suggested-tasks/data-collector/class-terms-without-posts.php (1 warning)
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
120 |
PluginCheck.Security.DirectDB.UnescapedDBParameter | Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 118. |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
The Node script was inlined through a heredoc starting at column 0, which ends the YAML `run: |` block. GitHub could not parse playground.yml, so no preview has run on this branch since December. - Move the blueprint logic to .github/scripts/playground-blueprint.js; it only prints the blueprint on stdout, so logs never leak into the link. - Use the same script in playground-merged.yml, so merged-PR previews also get the plugin:<slug> plugins now that wordpress-seo is no longer in playground.json by default. - Only re-run on label changes for plugin:* labels, and keep one preview run per PR (concurrency, cancel in progress). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Filip Ilic <ilic.filip@gmail.com>
Plugin readme previewOpen preview · Commit 36 passed · 1 warning · 0 notes Warnings
Passed checks (36)
Readme and PHP-header checks only; this does not test plugin runtime compatibility. |
|
I pushed a fix (83f9663) and merged Why the preview wasn't showing: What I changed:
What I tested:
Before merging, the team should know: previews no longer include Yoast by default. To get Yoast in a preview, a PR needs the |
Improves the Playground preview workflow:
github.event.pull_request.labelsbeing empty onopened/synchronize/reopenedevents by fetching labels via theghCLI.