Skip to content

go tool directive issues #6213

Open
Open

Description

@shahar-h

Description:
I noticed a few issues related to go tool directive which was introduced here:

  1. Go packages which are used only by tools and not directly are not updated by dependabot since they are declared in indirect dependencies block. e.g.:
    • github.com/bufbuild/buf
    • github.com/golangci/golangci-lint/v2
    • github.com/google/go-jsonnet
    • sigs.k8s.io/controller-tools
    • sigs.k8s.io/kind
    • sigs.k8s.io/controller-runtime/tools/setup-envtest
  2. Since sigs.k8s.io/controller-runtime/tools/[email protected] consumes k8s.io/apimachinery v0.33.0-alpha.1 direct apimachinery dependency version was changed from v0.32.2 to v0.33.0-alpha.1 in #5304 and since then was updated several times by dependabot with alpha/beta versions(currently v0.34.0-alpha.0).
    According to kubebuilder docs setup-envtest should be consumed from s release branch (e.g. release-0.21).

Activity

  1. arkodg commented on May 28, 2025

    @arkodg
    Contributor
  2. shahar-h commented on May 28, 2025

    @shahar-h
    ContributorAuthor

    See related dependabot issue.

  3. github-actions commented on Jun 28, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  4. shahar-h commented on Jul 12, 2025

    @shahar-h
    ContributorAuthor

    BTW renovate supports updating tools packages.

  5. zirain commented on Jul 12, 2025

    @zirain
    Member

    it's a good idea to move to adopt renovate.

  6. github-actions commented on Aug 11, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  7. shahar-h commented on Aug 20, 2025

    @shahar-h
    ContributorAuthor

    Created #6824 to resolve (2).

  8. github-actions commented on Sep 19, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  9. zirain commented on Sep 20, 2025

    @zirain
    Member

    @shahar-h is this done?

  10. shahar-h commented on Sep 20, 2025

    @shahar-h
    ContributorAuthor

    No, only (2) is done, (1) is still open.

  11. github-actions commented on Oct 20, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions