Parsoid/JS has a custom config for roundtrip testing on scandium. For Parsoid/PHP, these custom settings (linting, metrics, logging, rt test mode) would come via LocalSettings.php. We need to figure out where these settings live.
|mediawiki/services/parsoid : master||Add a RTTestSettings.php config override|
|operations/mediawiki-config : master||Add conditional loading of Parsoid/PHP as an extension|
|Resolved||ssastry||T229015 Tracking: Direct live production traffic at Parsoid/PHP|
|Resolved||Goal||ssastry||T229356 Run roundtrip tests with Parsoid/PHP on scandium|
|Resolved||ssastry||T229354 Figure out how to pass round trip testing specific config via LocalSettings.php|
There's no such thing as LocalSettings.php in production, it's provided via the mediawiki-config repo, but that requires a given server to be part of the production appserver set-up (even if not serving traffic). FWICT, that's not how you're planning to proceed?
For production, for sure, we will go the mediawiki-config route. But, presumably that config will install a LocalSettings.php file, right?
The question is more about rt-testing which needs to override some settings from that config without needing to hack it into the mediawiki-config repo.
Ok, we can probably temporarily hack it for the immediate term then. But, beyond that .. for sustained rt testing preceding Parsoid/PHP deployments to production, we'll need to figure out a non-hacky solution, so I'll keep this ticket open.
scandium uses the parsoid::testing puppet role. I guess you could create LocalSettings.php from there (and make it redirect to some file in the Parsoid repo, to avoid having to make a puppet patch for every change).