Page MenuHomePhabricator

mediawiki-config needs better test coverage
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/#/c/243728/ was able to take the site down because while it was a valid PHP, a typo in function name resulted in a fatal. We need to cover more of config with tests that actually execute the PHP files.

https://wikitech.wikimedia.org/wiki/Incident_documentation/20151005-MediaWiki

Event Timeline

MaxSem raised the priority of this task from to High.
MaxSem updated the task description. (Show Details)
MaxSem added subscribers: MaxSem, greg.
MaxSem renamed this task from mediawiki-config needs better coverage to mediawiki-config needs better test coverage.Oct 5 2015, 11:56 PM

While not directly targeted at this, the new unit tests in https://gerrit.wikimedia.org/r/240615 will catch this specific problem by virtue of including InitialiseSettings.php

Krinkle claimed this task.
Krinkle subscribed.

Also addressed by T121597: Implement MediaWiki pre-promote checks, which now runs prior to hitting production traffic.