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

Remove semi-circular dependency between core and util #10919

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Feb 15, 2024

Add the 'fake' dependency to grpc-netty instead of grpc-core. grpc-okhttp already depends on grpc-util and probably would be fine without round_robin on Android.

There's not actually a circular dependency, but some tools can't handle the compile vs runtime distinction. Such tools are broken, but fixes have been slow and this approach works with no real downfalls.

Works around #10576 #10701

@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Feb 15, 2024
Add the 'fake' dependency to grpc-netty instead of grpc-core.
grpc-okhttp already depends on grpc-util and probably would be fine
without round_robin on Android.

There's not actually a circular dependency, but some tools can't handle
the compile vs runtime distinction. Such tools are broken, but fixes
have been slow and this approach works with no real downfalls.

Works around grpc#10576 grpc#10701
@ejona86 ejona86 merged commit a231d80 into grpc:master Feb 16, 2024
14 checks passed
@ejona86 ejona86 deleted the util-no-cycle branch February 16, 2024 20:31
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Feb 16, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants