[size_diff] Wait on pending builds
Previously the tool would only wait on builds that had exited the
pending stage and begun running, which I believe was an oversight.
On its own this change would risk increasing presubmit latency by
forcing builders to wait even on builds that haven't started. But
combined with http://tqr/799150 it should have a minimal impact on
presubmit latency, as increasing the baseline builder's priority should
minimize the time it spends pending.
Bug: 295035404
Change-Id: Ib456c4c2ed94907c4ced1b1073235e0c2d88eb4e
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/974734
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Reviewed-by: Aidan Wolter <awolter@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
2 files changed