fix: avoid fragile pending site loopback#1416
Conversation
|
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 (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR removes the interrupted pending-site recovery path from the membership manager's ChangesPending Site Publishing Flow Simplification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
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 docstrings
🧪 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: |
Summary
Verification
Notes
aidevops.sh v3.20.57 plugin for OpenCode v1.17.4 with gpt-5.5 Merged via PR #1416 to main. |
Summary
fastcgi_finish_request()/litespeed_finish_request(), skip the fragile 0.01s pending-site admin-ajax loopback and enqueue/dispatch the immediate Action Scheduler publish action.wu_publish_pending_siteloopback is attempted and the publish action is queued in the main-site scheduler context.Verification
php -l inc/models/class-membership.php && php -l inc/managers/class-membership-manager.php && php -l tests/WP_Ultimo/Managers/Membership_Manager_Test.phpvendor/bin/phpcs inc/models/class-membership.php inc/managers/class-membership-manager.php tests/WP_Ultimo/Managers/Membership_Manager_Test.phpgit diff --checkwu_publish_pending_site_can_finish_request=false:publish_loopback_requests=0,http_requests=0,has_scheduled_main=yes.Notes
aidevops.sh v3.20.57 plugin for OpenCode v1.17.4 with gpt-5.5
Summary by CodeRabbit
Bug Fixes
Refactor