commit | f85f9fe09f0bd0df9c068e161f7671651128e707 | [log] [tgz] |
---|---|---|
author | Patrick Meiring <meiring@google.com> | Mon Jun 30 07:50:57 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 30 07:50:57 2025 |
tree | 1cd82048849bb457d1bc0efb2202389596d29415 | |
parent | 310f86db3831ede7a383354f21547065bcb5bf6e [diff] |
[ResultDB] Revise and extend validation methods, preparing for work units. 1. Adds validation methods for full resource names, work unit tags and root invocation tags. 2. Strictens the validation for variants: - There is now a size limit on the total size of a variant. - Variant values are now required to be printable, valid UTF-8, and in Unicode Normalization Form C. Backtesting the variant validation changes on the last 7 days of data indicates they are safe to retrofit on all in-production uploaders. 3. Deprecates the properties_schema field under test metadata, moving towards requiring a "@type" key in the properties blob itself. This matches what was done for invocation extended properties. BUG=b:428563342 TEST=Integration tests Change-Id: I960c9152cb4471dbf82e82f34b0ef7aa6c50842a Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/6688446 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.