bazel-diff
bazel-diff copied to clipboard
Hashes do not change, even when a dep is updated that points into my go.mod file
I'm using MODULE.bazel to bring in dependencies form a go.mod file like this:
go_test(
name = "gazelle-extension_test",
srcs = ["generate_test.go"],
embed = [":gazelle-extension"],
deps = [
"@com_github_foo//pkg/analysis",
Today, I updated my go.mod to use a newer version of the com_github_foo go library. I noticed that the hash that bazel-diff generated for my go_test rule was the same as the old hash. Consequently, we are not able to smartly know what tests to run.
How can I accomplish the thing I'm trying to do?