Skip to content

Hashes do not change, even when a dep is updated that points into my go.mod file #266

Open
@blockjon-dd

Description

@blockjon-dd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions