GH#1598: fix: preserve duplication table copy safety#1599
Conversation
Completion Summary
aidevops.sh v3.31.14 plugin for OpenCode v1.17.12 with gpt-5.5 spent 4m and 109,790 tokens on this as a headless worker. |
|
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 (2)
📝 WalkthroughWalkthroughThis PR renames duplication filter hooks in ChangesDuplication filter and empty-table logic
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: `review-feedback-scanned` 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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: |
Admin Merge Fallback (t2247)Branch protection blocked the plain Merge method: Original branch-protection errorRemediation: If this bypass was unintended, revert with aidevops.sh v3.31.14 plugin for OpenCode v1.17.12 with unknown spent 6m and 110,668 tokens on this as a headless worker. |
Summary
Renamed new duplication table-copy filters to the required wu_ prefix and replaced the empty-table COUNT query with a fail-open row-existence probe.
Files Changed
inc/duplication/data.php,tests/WP_Ultimo/Duplication/MUCD_Data_Test.php
Runtime Testing
Resolves #1598
aidevops.sh v3.31.14 plugin for OpenCode v1.17.12 with gpt-5.5 spent 4m and 109,790 tokens on this as a headless worker.
Summary by CodeRabbit