commit | a57565acc4f5551bc077020a784cc6ea957d9c1d | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Tue Jun 11 23:48:55 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 11 23:48:55 2024 |
tree | 5a482fcc84f7583659a69d67d3007c1e27283380 | |
parent | a0ad2ca587d6a65adb64d4d50e67f10d94053d8e [diff] |
[swarming] Dispatch all Swarming RPCs to Go. Once this lands, the traffic splitting (between Go and Python) will be fully controlled via settings.cfg. Note that this will likely increase overall latency of all RPCs right now by a bit, since they are all routed to Python (but will be proxied by Go). The latency will decrease once they are made 100% Go. In particular for RPCs like NewTask, this can take some time (since it is far from being implemented). An alternative is to add RPCs into dispatch.yaml one by one once they are ready. But dispatch.yaml has a limit of 20 rules total, we won't be able to have per-RPC routes for all RPCs. The impact will be evaluated on chromium-swarm-dev. If it is noticeable, we'll have to juggle per-RPC routes somehow. R=chanli@chromium.org Change-Id: I1fbeca53d7fdf9e2dd0a64b76d2ee38cea81ce71 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/5622403 Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Chan Li <chanli@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.