Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go tidy not run in grouped go.mod updates #11046

Open
1 task done
ivanvc opened this issue Dec 3, 2024 · 0 comments
Open
1 task done

Go tidy not run in grouped go.mod updates #11046

ivanvc opened this issue Dec 3, 2024 · 0 comments
Labels
L: go:modules Golang modules T: bug 🐞 Something isn't working

Comments

@ivanvc
Copy link

ivanvc commented Dec 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

go.mod

Package manager version

1.23

Language version

1.23

Manifest location and content before the Dependabot update

Several go.mod files by using the directories configuration.

dependabot.yml content

https://github.com/ivanvc/etcd/blob/49a3a1cc19fe6317f7a468189557477e38dbf308/.github/dependabot.yml

Updated dependency

No response

What you expected to see, versus what you actually saw

I would expect dependabot to run go mod tidy. But it is not doing it, and the go.sum file ends up with dependencies not used, which makes CI jobs fail.

Refer to: https://github.com/ivanvc/etcd/pull/447/files#diff-97017492cd97455db4885ac7f2bd7141c68233cd72b53f2e5c038ed091d3613f

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

@ivanvc ivanvc added the T: bug 🐞 Something isn't working label Dec 3, 2024
@github-actions github-actions bot added the L: go:modules Golang modules label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: go:modules Golang modules T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant