commit | 991c64522551cc1744d4185be8909f5a77518aeb | [log] [tgz] |
---|---|---|
author | Patrick Meiring <meiring@google.com> | Tue Mar 04 06:44:03 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 04 06:44:03 2025 |
tree | d2de411388b8a3c505e36b35a8845b9cae28df56 | |
parent | c78791ada51da8d50f2e6fd94560fdf9e36ff2b2 [diff] |
[ResultDB] Redefine approach for exposing schemas to clients. Replace the list method with a new get method that is simpler to use and is more extensible if we have additional information about test schema that clients need to query, such as test status labels. To avoid exceeding the limit for a response, we add a validation that the total size of all schemes configured for a ResultDB deployment may not exceed 1000 items or 100KB (whichever is less). BUG=b:398112066 Change-Id: I3a30b371c3c78feff59f13caffb85b466f5e7317 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6320436 Reviewed-by: Beining Chen <beining@google.com> Commit-Queue: Patrick Meiring <meiring@google.com>
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.