Currently we have no way of knowing if a mediawiki server is running the code it should. Moreover, we sometimes run into the issue where if during a scap run a server is unavailable, this server will need a manual deployment. What makes is problem so complex is the fact that when we roll out our changes (the weekly MediaWiki train), we pull from ~190 different repositories. This becomes even more complex if we take into account security hotfixes.
The main goal is to figure out ways we can know at any given time, which servers are on version x and which on version x+1. Useful information:
- On each mw server, scap creates a directory called /srv/mediawiki/php/cache/gitinfo where it holds information from every repo we pull from.