commit | 34cde22935d408e6f160664bb376c5058e123cca | [log] [tgz] |
---|---|---|
author | Andrew Lamb <andrewlamb@chromium.org> | Wed Nov 13 18:01:26 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 13 18:01:26 2024 |
tree | 57d25bf443a6aeda023d2f470eee56fcea0945a4 | |
parent | 213d1cfd276392c7960ece81cc754e0448c6f33d [diff] |
Skip setting ParentTaskId for cross-server requests. - If the server set in the request is different from the SWARMING_SERVER env var, assume the request is going to a different server from the currently running task. In this case, skip setting ParentTaskId, as the request will be rejected if ParentTaskId cannot be found on the server. Bug: 368004900 Change-Id: I5f9754d9e954fa2c7e30a83e3de46dadd39deb08 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6012902 Commit-Queue: Andrew Lamb <andrewlamb@chromium.org> Reviewed-by: Garrett Beaty <gbeaty@google.com> Reviewed-by: Vadim Shtayura <vadimsh@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
It is now possible to directly install tools with go install:
go install go.chromium.org/luci/auth/client/cmd/...@latest go install go.chromium.org/luci/buildbucket/cmd/...@latest go install go.chromium.org/luci/cipd/client/cmd/...@latest go install go.chromium.org/luci/client/cmd/...@latest go install go.chromium.org/luci/cv/cmd/...@latest go install go.chromium.org/luci/gce/cmd/...@latest go install go.chromium.org/luci/grpc/cmd/...@latest go install go.chromium.org/luci/logdog/client/cmd/...@latest go install go.chromium.org/luci/luci_notify/cmd/...@latest go install go.chromium.org/luci/lucicfg/cmd/...@latest go install go.chromium.org/luci/luciexe/legacy/cmd/...@latest go install go.chromium.org/luci/mailer/cmd/...@latest go install go.chromium.org/luci/mmutex/cmd/...@latest go install go.chromium.org/luci/resultdb/cmd/...@latest go install go.chromium.org/luci/server/cmd/...@latest go install go.chromium.org/luci/swarming/cmd/...@latest go install go.chromium.org/luci/tokenserver/cmd/...@latest go install go.chromium.org/luci/tools/cmd/...@latest
Contributing uses the same flow as Chromium contributions.