feat(domain-mapping): add runtime URL rewriting - #1736
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Completion Summary
aidevops.sh v3.32.280 plugin for OpenCode v1.18.18 with gpt-5.6-sol spent 7h 51m and 2,190,358 tokens on this with the user in an interactive session. |
🔨 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: |
🔨 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: |
🔨 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 2a7ffb7 are in 🛎️! |
Summary
customer.example.commaps tocustomer.staging.example.comfrom one root ruleConfiguration
A single pair covers an entire subdomain network:
This maps the roots and preserves arbitrary leading labels, including nested subdomains.
WP_ULTIMO_RUNTIME_URL_MAPremains available when a network has multiple unrelated root domains or needs a more specific child override.Testing
vendor/bin/phpunit --no-coverage --filter Runtime_URL_Rewriter_Test— 10 tests, 48 assertions passedvendor/bin/phpunit --no-coverage --filter 'Domain_Mapping|Sunrise_Test'— 430 tests, 802 assertions passed, with three existing skipped testsvendor/bin/phpcs inc/domain-mapping/class-runtime-url-rewriter.php tests/WP_Ultimo/Domain_Mapping/Runtime_URL_Rewriter_Test.php— passedvendor/bin/phpstan analyse --no-progress inc/domain-mapping/class-runtime-url-rewriter.php tests/WP_Ultimo/Domain_Mapping/Runtime_URL_Rewriter_Test.php— passedhome_url()rewritingSelf_Boot_Builder_Testenvironment errors (ValueError: Path must not be empty), plus 55 skipped and one incomplete testaidevops.sh v3.32.284 plugin for OpenCode v1.18.18 with gpt-5.6-sol spent 23h 31m and 3,099,418 tokens on this with the user in an interactive session.