commit | 778faf6d0d0e95737a93baaa21351f9f5ea7f05f | [log] [tgz] |
---|---|---|
author | Joey Scarr <jsca@google.com> | Tue Jun 28 00:55:16 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 28 00:55:16 2022 |
tree | debf5bbf317e425f6302978fbbae9c8b65ecc74d | |
parent | 25ff3e89550f07d03c46832d1f03c24f3d0b31d7 [diff] |
[auth-service] Fix some bugs in historical entity creation. 1. Every property value was getting converted to a slice as part of disabling indexing. This has been fixed. 2. Zero-value fields (like auth_db_prev_rev) will no longer be written, since this breaks the Python code (which expects nulls). 3. Disabling indexing wasn't actually working, due to pass-by-value semantics. Includes tests for all of the above. Bug: 1336134 Change-Id: I5719d03431043875ada8e92149241cb8ceafa43e Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3719463 Commit-Queue: Joey Scarr <jsca@google.com> Reviewed-by: Robbie Iannucci <iannucci@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
Contributing uses the same flow as Chromium contributions.