Skip to content

xds: Enable deprecation warnings#11998

Merged
ejona86 merged 5 commits intogrpc:masterfrom
ejona86:xds-deprecation
Apr 11, 2025
Merged

xds: Enable deprecation warnings#11998
ejona86 merged 5 commits intogrpc:masterfrom
ejona86:xds-deprecation

Conversation

@ejona86
Copy link
Copy Markdown
Member

@ejona86 ejona86 commented Apr 4, 2025

The security code referenced fields removed from gRFC A29 before it was finalized.

@ejona86 ejona86 requested a review from kannanjgithub April 4, 2025 16:57
Comment thread xds/src/main/java/io/grpc/xds/XdsClusterResource.java
@kannanjgithub
Copy link
Copy Markdown
Contributor

There are some build failures in checks.

@ejona86
Copy link
Copy Markdown
Member Author

ejona86 commented Apr 10, 2025

Yeah, I am going through them. I started yesterday but there were quite a few usages of the deprecated classes in the tests. (I suspect I accidentally only did :compileJava when building before sending out the PR.)

ejona86 added 4 commits April 10, 2025 15:26
The security code referenced fields removed from gRFC A29 before it was
finalized.
Note that this fixes a bug in CommonTlsContextUtil where
CombinedValidationContext was not checked. I believe this was the only
location with such a bug as I audited all non-test usages of
has/getValidationContext() and confirmed they have have a cooresponding
has/getCombinedValidationContext().
@ejona86
Copy link
Copy Markdown
Member Author

ejona86 commented Apr 10, 2025

I fixed the tests and I rebased past f79ab2f which conflicted (because a deprecated thing was deleted).

@ejona86 ejona86 merged commit 65d0bb8 into grpc:master Apr 11, 2025
15 of 16 checks passed
@ejona86 ejona86 deleted the xds-deprecation branch April 11, 2025 15:25
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2025
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