Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update grpc dependencies to v1.65.0 #3034

Merged
merged 9 commits into from
Jul 23, 2024

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jul 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-core 1.62.2 -> 1.65.0 age adoption passing confidence
io.grpc:grpc-bom 1.62.2 -> 1.65.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

grpc/grpc-java (io.grpc:grpc-core)

v1.65.0

Compare Source

v1.64.1

Compare Source

What's Changed

v1.64.0

Compare Source

API Changes
  • compiler: the option jakarta_omit was renamed @generated=omit (#​11086) (8a21afc)
New Features
  • New API LoadBalancer.getChannelTarget() (4561bb5)
  • opentelemetry: Publish new module grpc-opentelemetry (5ba1a55). The feature is still missing documentation and an example. It only supports metrics; tracing and logs will be future enhancements. See gRFC A66
  • bazel: Add support for bzlmod (#​11046) (d1890c0)
  • bazel: Replace usages of the old compatibility maven targets with @maven targets (0064991)
  • okhttp: Support serverBuilder.maxConcurrentCallsPerConnection (Fixes #​11062). (#​11063) (8050723)
  • xds: Experimental metrics recording in WRR LB (06df25b, 35a171b, 2897b39), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry. See gRFC A78
  • rls: Experimental metrics recording in RLS LB (a9fb272, a1d1932, 8133318), to be exported by grpc-opentelemetry if explicitly enabled in GrpcOpenTelemetry
Improvements
  • examples: support bazel build for retry policy example (58de563)
  • netty: Allow deframer errors to close stream with a status code, as long as headers have not yet been sent (e036b1b). This will greatly improve the debuggability of certain server errors in particular cases. Instead of the client seeing “CANCELLED: RST_STREAM closed stream. HTTP/2 error code: CANCEL”, they could see “RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304: 6144592
  • netty: Improve handling of unexpected write queue promise failures (#​11016)
  • servlet: Avoid unnecessary FINEST hex string conversion by checking log level. Fixes #​11031. (f7ee5f3)
  • StatusException/StatusRuntimeException hide stack trace in a simpler way (#​11064) (e36f099)
  • util: Status desc for outlier detection ejection (#​11036) (10cb4a3)
  • binder: Helper class to allow in process servers to use peer uids in test (#​11014) (537dbe8)
  • Add load() statements for the Bazel builtin top-level java symbols (#​11105) (add8c37)
  • Add StatusProto.toStatusException overload to accept Throwable (#​11083) (5c9b492)
Bug fixes
  • Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed (#​11026) (bdb6230)
  • Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63. (#​11120) We have had a report that the new implementation can trigger a NullPointerException
  • core: Transition to CONNECTING immediately when exiting idle (2c5f0c2). Previously the visible state change from channel.getState() was delayed until the name resolver returned results. This had no impact to RPC behavior
  • xds: Specify a locale for upper/lower case conversions (e630593)
  • rls: Synchronization fixes in CachingRlsLbClient (6e97b18). These races had not been witnessed in practice
  • rls: Guarantee backoff will update RLS picker (f9b6e5f). This fixes a regression introduced by 6e97b18 that could hang RPCs instead of using fallback, but fixes a pre-existing bug that could greatly delay RPCs from using fallback.
  • rls: Fix time handling in CachingRlsLbClient (da619e2). This could have caused backoff entries to improperly be considered expired
  • xds: Properly disable the default endpoint identification algorithm with XdsChannelCredentials (097a46b). The credential does its own verification and the default needs to be disabled for SPIFFE
  • netty: Release SendGrpcFrameCommand when stream is missing (#​11116) (fb9a108)
  • okhttp: Remove finished stream even if a pending stream was started (d21fe32)
Dependencies
  • cronet: Update Cronet to latest release + Move to Stable Cronet APIs. (5a8da19)
  • cronet: @​javadoc update android permission MODIFY_NETWORK_ACCOUNTING (deprecated) => UPDATE_DEVICE_STATS (c703a1e)
  • cronet: Update to Java-8 API's and tighten the scopes (163efa3)
  • cronet: Update to StandardCharsets and assertNotNull API's (77e59b2)
Acknowledgements

@​panchenko
@​Ashok-Varma
@​benjaminp
@​AutomatedTester
@​hypnoce
@​keith
@​laglangyue
@​rostik404
@​ryanpbrewster
@​abtom
@​hvadehra
@​rtadepalli

v1.63.1

Compare Source

Bug fixes
  • netty: Release SendGrpcFrameCommand when stream is missing (#​11116) (fb9a108)
  • Change defaults to use the older PickFirstLoadBalancer and disable Happy Eyeballs. This disables a performance optimization added in v1.63.0 (#​11120) We have had a report that the new implementation can trigger a NullPointerException

v1.63.0

Compare Source

API Changes
New Features

xds, dual stack, happy eyeballs: Support dual stack in xds, change list includes:

  • Enable new PickFirst lb policy by default. The new PickFirst implements subchannel picking logic. (#​11002) (8a9ce99)
  • EDS resource now supports additional addresses (#​11011) (38f968f)
  • Change address based outlier detection to endpoint based (#​10939) (c61fe69)
  • Enable Happy Eyeballs by default (#​11022) (51f811d)
Improvements
  • rls: Adding extra debug logs (#​10902) (eba699a)
  • binder: Add missing Android API annotations (#​10841) (ce2adcc)
  • core: Provide DEADLINE_EXCEEDED insights for context deadline (3abab95). When the deadline triggered and the deadline was set on the RPC via the stub or CallOptions, gRPC would gather additional debugging information to help understand where the RPC took so long. However if the deadline came from io.grpc.Context the error was simply “context timed out.” Now the debugging information is provided in both cases
  • examples: Fix file paths in debug example README (e19f1f1)
  • compiler: implement ability to skip generation of javax annotation (#​10927) (0d39c2c). Pass the option jakarta_omit to protoc-gen-grpc-java when generating code
  • xds: Get rid of xDS v2 proto dependencies (#​10968) (feab4e5). grpc-xds jar size has decreased by 35%.
  • xds: Support retrieving names from wrapped resource containers (#​10975) (867e469)
  • netty: improve server handling of writes to reset streams (#​10258) (a68399a)
  • api: Fix a typo in ServerInterceptor JavaDoc (#​10990) (0b82f01)
  • servlet: Check log fine level before hex string conversion. (#​11038)
  • auth: Specify a locale for upper/lower case conversions (1.63.x backport) #​11050
Bug Fixes
  • xds: Copy data in least request to avoid picker data race (f4cc166). This fixes a possible regression introduced in 1.60.0. Auditing the buggy code showed it unlikely to cause problems in practice, but that was more by happenstance than by design
  • xds: Fix data race in the xds client that contacts the control plane (d7628a3)
  • rls: Fix a local and remote race (aa90768). The remote race could cause an RPC to hang until its deadline. It had been seen in practice when the client was severely CPU under-provisioned
  • xds: Fix xdsNameResolver virtual host lookup authority with xdstp style names. Use service authority instead of ldsResourceName (#​10960) (78b3972)
  • core: Fix retry race condition that can lead to double decrementing inFlightSubStreams and so miss calling closed (#​11026) (#​11033)
  • okhttp: Fix OkHTTP client transport leak (#​11060)
  • xds: Use empty string when disabling server hostname verification ( #​11058)
Dependencies
  • Upgraded google-auth-library-java to 1.22.0
Acknowledgement

Alex Panchenko
Benjamin Peterson
David Ankin
Prashanth Swaminathan
Touko Vainio-Kaila


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner July 9, 2024 18:08
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 9, 2024
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jul 9, 2024
@zhumin8
Copy link
Contributor

zhumin8 commented Jul 9, 2024

/gcbrun

@zhumin8
Copy link
Contributor

zhumin8 commented Jul 10, 2024

error in build:

(18:34:32) ERROR: /home/runner/.cache/bazel/_bazel_runner/cf5fb8c2c66b8a944ea6af7c9b248db5/external/io_grpc_grpc_java/stub/BUILD.bazel:21:13: no such target '@maven//:org_apache_tomcat_annotations_api': target 'org_apache_tomcat_annotations_api' not declared in package '' defined by /home/runner/.cache/bazel/_bazel_runner/cf5fb8c2c66b8a944ea6af7c9b248db5/external/maven/BUILD (Tip: use `query "@maven//:*"` to see all the targets in that package) and referenced by '@io_grpc_grpc_java//stub:javax_annotation'
(18:34:32) ERROR: Analysis of target '//test/integration:kms_java_grpc' failed; build aborted: 

@zhumin8 zhumin8 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 10, 2024
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Jul 18, 2024
@zhumin8
Copy link
Contributor

zhumin8 commented Jul 19, 2024

/gcbrun

@zhumin8
Copy link
Contributor

zhumin8 commented Jul 19, 2024

/gcbrun

Copy link

sonarcloud bot commented Jul 22, 2024

Copy link

sonarcloud bot commented Jul 22, 2024

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@zhumin8 zhumin8 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 23, 2024
@zhumin8
Copy link
Contributor

zhumin8 commented Jul 23, 2024

/gcbrun

@zhumin8
Copy link
Contributor

zhumin8 commented Jul 23, 2024

Downstream check failures in java-spanner and java-bigtable are known issues related to the time pr.

@zhumin8 zhumin8 merged commit 802e25f into googleapis:main Jul 23, 2024
46 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run Add this label to force Kokoro to re-run the tests. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants