-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add more tests which use ast_plus_one_deps_strict_deps_unused_deps_error toolchain #1030
Conversation
@Jamie5 I'd love your review here |
probably obvious but I'll just add that I added the above |
linting fails. Pushing a fix. Otherwise green |
Looks reasonable to me. I may be able to look at the false positives to see what's going on (don't have much context on these rules but hopefully can at least get something useful out of it). Not sure of timeline though, but if there's a tracking thing I can deal with it at some point. As for name maybe |
Great. |
Sounds good re opening PRs (or issues is fine too). Re name |
I also don't have a really strong opinion but I think this discussion has a bit more value in it. |
oh and re PRs vs issues- The reason why I'm thinking PRs is so that you can have easy repros. If this isn't valuable then I'll just open issues. LMK. |
Hmm |
…ror toolchain (bazelbuild#1030) * move ast_plus_one_deps_strict_deps_unused_deps_error to //scala package also mention it in readme * add e2e tests to use ast_plus_one_deps_strict_deps_unused_deps_error * fix lint * rename ast_plus_one_deps_strict_deps_unused_deps_error to minimal_direct_source_deps
Description
ast_plus_one_deps_strict_deps_unused_deps_error
toolchain has more coverage and first classThis PR moves
//scala:ast_plus_one_deps_strict_deps_unused_deps_error
toolchain to the prod section since we now promote it as the alternative but leave users up to stitching everything themselves. I also added reference to it in the readme.Additionally it builds and tests
test/...
with this toolchain to surface issues like #1029.Motivation
Better coverage for AST and other combo and better alignment with our approach.
Open issues
unused_dependency_checker_ignored_targets
exclusions to get the build passing. I'd really love for us to understand if they are working as intended, bugs we can fix or bugs we'll have to live with.We might be able to merge this PR even with these exclusions but I'm willing to do that only if it's clear who's owning the rest of the inquiry.