GH#940: docs(agents): expand bash:other guidance for WP test suite, npm build, and PHP one-liners#941
Conversation
…pm build, and PHP one-liners
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughExpands Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
|
Performance Test Results Performance test results for 96e3659 are in 🛎️! Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown. URL:
|
Merge SummaryIssue #940 — docs(agents): expand bash:other guidance for WP test suite, npm build, and PHP one-liners Changes: Added 3 new entries to
CI: All 10 checks passed (PHP 8.2-8.5, Cypress, Code Quality, PHP Lint, Build, WP Performance). aidevops.sh v3.11.0 plugin for OpenCode v1.3.17 with claude-sonnet-4-6 spent 17m and 17,738 tokens on this as a headless worker. |
Summary
Follows up on PR #933 (GH#932) which added the bash:other section. Four new bash:other errors (+5) occurred since that fix — the most significant increase of the four tracked patterns:
bash:other(+5, 24→29): Three new failure modes not covered by existing guidance:vendor/bin/phpunitfails when WordPress test environment is not installed — agents attempt to run tests without the bootstrap frombin/install-wp-tests.sh.npm run buildis a release command (runs encryption, minification) not a dev-testing shortcut — agents confuse it withnpm run check.php -rone-liners calling WordPress functions (add_filter,get_option, etc.) fail because WP is not bootstrapped in that context.Other patterns unchanged or at ±1 (marginal):
webfetch:other+1,read:file_not_found0,edit:not_read_first+1.Changes
AGENTS.md—### Common bash:other Failuressection only:bin/install-wp-tests.shinvocation example, and a pre-check command for/tmp/wordpress-tests-lib.npm run buildis a release command entry: explains it runs encryption/minification, and lists the correct dev alternatives (npm run check,npm run lint,npm test).wp evalas the correct alternative.Verification
Documentation-only change. No code modified. Guidance directly addresses the specific new bash:other failure classes observed.
Resolves #940
aidevops.sh v3.11.0 plugin for OpenCode v1.3.17 with claude-sonnet-4-6 spent 5m and 12,836 tokens on this as a headless worker.
Summary by CodeRabbit