HomePhabricator
Diffusion Scap d546dcfc710f

Check for fatals in AbstractSync by calling `mwscript eval.php`

Authored by mmodell on Sep 20 2018, 11:39 PM.

Description

Check for fatals in AbstractSync by calling mwscript eval.php

Summary:
This calls mwscript eval.php with "1" on stdin and then checks
for a successful return code. If mwscript exits with an error then
abort the sync and log the command's stderr output.

Test Plan: untested

Reviewers: Krinkle, thcipriani, Release-Engineering-Team

Reviewed By: thcipriani, Release-Engineering-Team

Subscribers: jenkins

Tags: Release-Engineering-Team

Maniphest Tasks: T121597

Differential Revision: https://phabricator.wikimedia.org/D1114