commit | 131c0fbbf238d32dbd2a540cfd966857ebb15fae | [log] [tgz] |
---|---|---|
author | Haiyang Pan <hypan@google.com> | Tue Apr 01 23:57:25 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 01 23:57:25 2025 |
tree | f9438ef4793023e9ec51dc810bdfecf613894cc0 | |
parent | 4862f1460ea313bb82817eee303605d0992992ff [diff] |
[exception-db] Add ReadMask to invocations.Read & ReadBatch for ExtendedProperties We are planning to increase the size limitation of ExtendedProperties, from 200KB to a larger value like 2MB. But as the "Read" function returns the entire invocation, this may cause memory issue for batch read like 10k invocations. This CL is to avoid this issue by introducing a new ReadMask to conditionally return the ExtendedProperties field during read. See https://crrev.com/c/6063979/comments/d3167cbc_69d59831 for the initial discussion. Bug: 337058844, 40935291 Change-Id: I59270b511bd554e45b84bf5533e5ddea51ad8f37 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6397120 Reviewed-by: Patrick Meiring <meiring@google.com> Commit-Queue: Haiyang Pan <hypan@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.