[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
tree: d0df3408f0bdff708bf7936920d898ce8a1dd323
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. issuetracker/
  11. monorail/
  12. rpcutil/
  13. scripts/
  14. slsa/
  15. third_party/
  16. vendor/
  17. .gitignore
  18. AUTHORS
  19. go.mod
  20. go.sum
  21. LICENSE
  22. manifest
  23. PATENTS
  24. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.