Skip to content

Incorrect Go pkg import comment causing downstream processing error (kythe) #31846

Description

@jingyuanliang

What happened?

package kube // import "helm.sh/helm/v3/pkg/kube"
is in a v4 package but it says // import "helm.sh/helm/v3/pkg/kube"

package kube // import "helm.sh/helm/v4/pkg/kube"
has a correct one but it would be a mismatch with above.

Kythe error:

2026/02/19 18:31:04 ERROR: Error locating "github.com/cilium/cilium/vendor/...": louhi_ws/gopath/src/github.com/cilium/cilium/vendor/helm.sh/helm/v4/pkg/cli/environment.go:39:2: found import comments "helm.sh/helm/v4/pkg/kube" (client.go) and "helm.sh/helm/v3/pkg/kube" (statuswait.go) in /workspace/louhi_ws/gopath/src/github.com/cilium/cilium/vendor/helm.sh/helm/v4/pkg/kube

What did you expect to happen?

All import comments match, or no import comment at all.

How can we reproduce it (as minimally and precisely as possible)?

Irrelevant

Helm version

Irrelevant

Kubernetes version

Irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions