-
Notifications
You must be signed in to change notification settings - Fork 4.9k
ci: dwyu test implementation #38646
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
base: main
Are you sure you want to change the base?
ci: dwyu test implementation #38646
Conversation
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
Signed-off-by: Nigel Brittain <[email protected]>
@nbaws sorry this got lost in my queue; I'll take a look next week hopefully |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
I'm still wanting to look into using this at some point. |
See conversation in #26797
Example run against some of my code. In this scenario I've mapped dependencies of
@envoy_api//envoy/extensions/common/aws/v3:pkg_cc_proto
but not@envoy_api//envoy/config/core/v3:pkg_cc_proto
which is why it is being flagged as unused.This is currently hardwired to expand protobufs defined in
bazel/dwyu/BUILD
so we will need some smarts to expand that out.I am not clear that the #error parsing is actually a problem, or just noise. It doesn't appear to affect the function of the tool.
I also added a small patch to work around a bug in protobuf rule parsing I found, this is raised upstream for their fix.
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]