This instance will be upgraded to Heptapod 0.27.1 on 2021-12-02 at 15:00 UTC+1 (a few minutes of down time)

heptapod-ci: automatically refresh existing phabricator Diff on push

If a changeset have been submitted to Phabricator and a new version is pushed to
heptapod, we should refresh the state on Phabricator. If we do not do this, they
are a risk of an older version being applied from Phabricator. In this situation
content-divergence will be (rightfully) detected by evolution.

We only refresh the Diff if the test pass, to avoid updating Phabricator with
broken content.

Differential Revision:
4 jobs for topic/default/auto-phab-refresh in 2 minutes and 58 seconds (queued for 2 seconds)
Status Name Job ID Coverage
passed checks-py3 #126410


passed rust-cargo-test-py2 #126411


passed rust-cargo-test-py3 #126412


passed phabricator-refresh #126413