Skip to content

fix go modules #22752

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

Merged
merged 1 commit into from
Jun 3, 2025
Merged

fix go modules #22752

merged 1 commit into from
Jun 3, 2025

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Jun 3, 2025

Description

Go mod is currently in broken state:

# get https://proxy.golang.org/github.com/docker/cli/@v/v28.2.1+incompatible.zip
# get https://proxy.golang.org/github.com/moby/moby/@v/v28.2.1+incompatible.zip: 200 OK (0.042s)
# get https://proxy.golang.org/github.com/docker/cli/@v/v28.2.1+incompatible.zip: 200 OK (0.128s)
verifying github.com/moby/[email protected]+incompatible: checksum mismatch
	downloaded: h1:UYmHExYP8S0uGKDozhYw7RJ+LpANL51g4fa3qT0Q2GA=
	go.sum:     h1:UYmHExYP8S0uGKDozhYw7RJ+LpANL51g4fa3qT0Q2GA=+

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Seems related to this merge commit: f328984

Fixed it by rebuilding the go.sum with:

rm -f go.sum && make vendor

Reviews

  • Technical review
  • Editorial review
  • Product review

Signed-off-by: CrazyMax <[email protected]>
@github-actions github-actions bot added the dependencies Vendoring, packaging updates label Jun 3, 2025
Copy link

netlify bot commented Jun 3, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 7dc3635
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/683ebae2cc5ec00008f807ec
😎 Deploy Preview https://deploy-preview-22752--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@crazy-max
Copy link
Member Author

@ArthurFlag We should look at validating the vendor dir and go modules related to #22681 (review) as follow-up if you can create a ticket for this.

@crazy-max crazy-max requested a review from thaJeztah June 3, 2025 09:07
@ArthurFlag ArthurFlag merged commit 4678e93 into docker:main Jun 3, 2025
14 checks passed
@crazy-max crazy-max deleted the fix-go-mod branch June 3, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Vendoring, packaging updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants