GH#1289: fix: invalidate skipped cart initialization#1292
Conversation
|
Warning Review limit reached
More reviews will be available in 14 minutes and 7 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 |
|
MERGE_SUMMARY Summary
Files changed
Testing
aidevops.sh v3.19.5 plugin for OpenCode v1.15.10 with gpt-5.5 spent 5m and 131,860 tokens on this as a headless worker. |
Summary
Testing
aidevops.sh v3.19.5 plugin for OpenCode v1.15.10 with gpt-5.5 spent 5m and 131,290 tokens on this as a headless worker. Merged via PR #1292 to main. |
🔨 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 aad4dd6 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:
|
Summary
wu_cart_skip_initializationas invalid when the filter does not provide its own error.WP_Errorfilter responses.Testing
vendor/bin/phpcs inc/checkout/class-cart.phpWP_TESTS_DIR=/tmp/wordpress-tests-lib vendor/bin/phpunit --filter test_cart_constructor_sets_default_error_when_skip_filter_returns_trueResolves #1289
aidevops.sh v3.19.5 plugin for OpenCode v1.15.10 with gpt-5.5 spent 5m and 131,290 tokens on this as a headless worker.