cmd/go: go mod tidy randomly removes indirect dependency #58216
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Running
go mod tidy
on gravitational/teleport@ce86ad5 (not only this commit, other on master as well)What did you expect to see?
No changes after running
go mod tidy
.What did you see instead?
It happens on my machine both on mac and inside docker, it also happens on dependabot running on GHA. However for at least 3 other people running the same version of Go (they checked on
darwin/amd64
),go mod tidy
returns no changes.Running
go mod graph
returns following modules for given indirect package:The text was updated successfully, but these errors were encountered: