We should make 'buildbot try' commmand (run by ews django app to send patches to Buildbot) robust against network issues. For e.g. if Buildbot server is down for any reason (e.g: rebooting), any patches sent by ews django app (using buildbot try command) would be lost. This is because it isn't able to detect a failure in 'buildbot try' command. This is due to a bug in Buildbot (that the exit code of 'buildbot try' command is zero both in case of success and failure, see https://github.com/buildbot/buildbot/issues/4837). We should improve the failure detection logic for Buildbot try command, and retry the command when it fails. This would make EWS Django app robust against network issues and buildbot restarts.
<rdar://problem/66158707>