commit | 79ae53a6d602392dbd90372c7650b246cbef5aad | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Fri Feb 14 01:45:35 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 14 01:45:35 2025 |
tree | b8a531b72909338666d3ae0ccd2126a2ecada4e6 | |
parent | bdd9f0776dc6b33c2789c30bc5ef93665e637de6 [diff] |
[swarming] Implement `termination_task_id`. It is set in the GetBot (and bot listing) responses, when: 1. The bot is dead ("is_dead" is true). 2. The bot was terminated in response to TerminateBot RPC. It is NOT set if: 1. The bot is alive (actively pinging the server). 2. The bot terminated itself in response to SIGTERM (or in some other way not involving TerminateBot). 3. The bot just disappeared (stopped pinging the server). 4. The bot reconnected after being terminated, and then died again for any reason other than (another) TerminateBot RPC. `termination_task_id` is set to the task ID as returned by TerminateBot RPC. R=chanli@chromium.org BUG=b/395973590 Change-Id: Ie00c845e6f9b5e09b390e3f3528a9ca3e11bab6d Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6266869 Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: 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.