commit | f17cb1029661a836763df3853a9e07951a08027b | [log] [tgz] |
---|---|---|
author | Robert Iannucci <iannucci@chromium.org> | Thu Oct 21 01:56:00 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 21 01:56:00 2021 |
tree | 90aaaa937308a178bfd7d6b06afb0d49c2d59a3f | |
parent | 325d0e7873ec2b51aac3d2f4603c1984d5f8e618 [diff] |
[buildbucket] Remove global UpdateTime clock. This removes the hacky global clock thing where Build times were adjusted at datastore Save time, and makes manipulation of Status and Time explicit in all the locations where we need to manipulate them. To avoid partially updating these fields accidentally, this also introduces a very simple static analysis test which will identify direct assignments to Status, StartTime and EndTime and require using protoutil.SetStatus instead. R=ddoman, smut, vadimsh, yuanjunh Change-Id: Ibb2f783dcd18718acedfcc5ad7976cf224c4f98a Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3235717 Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: smut <smut@google.com> Reviewed-by: Scott Lee <ddoman@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.