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://togithub.com/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://togithub.com/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://togithub.com/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://togithub.com/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://togithub.com/googleapis/sdk-platform-java/blob/HEAD/CHANGELOG.md#2370-2024-02-29) [Compare Source](https://togithub.com/googleapis/sdk-platform-java/compare/v2.36.0...v2.37.0) ##### Features - improve batching summary errors ([#​2509](https://togithub.com/googleapis/sdk-platform-java/issues/2509)) ([f0ddc6f](https://togithub.com/googleapis/sdk-platform-java/commit/f0ddc6fa0dd48065d73e5091288ad14ac8a2fa9c)) ##### Bug Fixes - adjust release please config to reflect file location change. ([#​2524](https://togithub.com/googleapis/sdk-platform-java/issues/2524)) ([2c06464](https://togithub.com/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://togithub.com/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>
* test(deps): update cross product test dependencies * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/java-bigtable/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Rollback plan is reviewed and LGTMed - [x] All new data plane features have a completed end to end testing plan Fixes #<issue_number_goes_here> ☕️ If you write sample code, please follow the [samples format]( https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
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