Repository navigation
build(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 - #650
Conversation
5c09be2 to
011b867
Compare
| github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect | ||
| github.com/moby/docker-image-spec v1.3.1 // indirect | ||
| github.com/moby/go-archive v0.2.0 | ||
| github.com/moby/go-archive v0.3.0 |
There was a problem hiding this comment.
🔴 Developers building the examples module get a "go: updates to go.mod needed" error after merging. examples/go.mod uses replace github.com/depot/cli => ../, so it inherits this v0.3.0 requirement. But examples/go.mod:136 and examples/go.sum:437-438 still pin go-archive v0.2.0. Fix: run go mod tidy in examples/ in this PR, so examples/go.mod and examples/go.sum record v0.3.0 with its checksums.
Why this was flagged
examples/go.mod:228 has replace github.com/depot/cli => ../, so the root go.mod's requirements are part of the examples module graph. After this PR, the root requires github.com/moby/go-archive v0.3.0 (go.mod:177), and MVS selects v0.3.0 for examples. examples/go.mod:136 still lists github.com/moby/go-archive v0.2.0 // indirect, and examples/go.sum only has the v0.2.0 hashes. With the default -mod=readonly, go build/go test in examples/ stops with "go: updates to go.mod needed" or a missing go.sum entry error. On the base branch both modules agree on v0.2.0 and the examples build. No CI workflow under .github references examples, so CI would not catch this.
Verification: examples/go.mod:228 has replace github.com/depot/cli => ../, so the root go.mod's requirement list is read into the examples module graph. After this diff, root go.mod:177 requires github.com/moby/go-archive v0.3.0, so MVS selects v0.3.0. But examples/go.mod:136 still lists v0.2.0, and examples/go.sum:437-438 has only the v0.2.0 hashes. The drift is new with this PR.
ff12df7 to
11f3318
Compare
0c48090 to
8d51717
Compare
Bumps [github.com/moby/go-archive](https://github.com/moby/go-archive) from 0.2.0 to 0.3.0. - [Release notes](https://github.com/moby/go-archive/releases) - [Changelog](https://github.com/moby/go-archive/blob/main/changes_test.go) - [Commits](moby/go-archive@v0.2.0...v0.3.0) --- updated-dependencies: - dependency-name: github.com/moby/go-archive dependency-version: 0.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
8d51717 to
770fbdd
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- 🔴
go.mod:177—Developers building the examples module get a "go: updates to go.mod needed" error after merging. examples/go.mod uses…
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.


Bumps github.com/moby/go-archive from 0.2.0 to 0.3.0.
Release notes
Sourced from github.com/moby/go-archive's releases.
... (truncated)
Commits
1c23372Merge pull request #43 from thaJeztah/fix_rebase_from_root8829a25RebaseArchiveEntries: fix archive path rebasingc583b20Merge pull request #90 from thaJeztah/chtimes_nofollowa0576cbarchive: do not follow reparse points in chtimesb0d5bafarchive: add test for unexpected reparse points in chtimesc23e4e5Merge pull request #79 from thaJeztah/test_chtimesaa1541aarchive: fix creation time updates on Windowsc68e60darchive: add Windows creation time testa11565dMerge pull request #91 from thaJeztah/breakout_unwrapb680a61Merge pull request #89 from moby/dependabot/github_actions/codeql-actions-ba9...Note
Medium Risk
Security-related dependency upgrade for tar extraction; behavior change is limited to hardened archive handling in transitive build/docker code paths.
Overview
Updates
github.com/moby/go-archivefrom0.2.0to0.3.0ingo.modandgo.sumonly—no application code changes.This pulls in v0.3.0 fixes for CVE-2026-17106 (crafted tar archives could escape the target directory during unpack/untar). The CLI already depends on this module (e.g.
github.com/moby/go-archive/compressionin buildx Dockerfile handling), so the bump hardens archive-related paths used indirectly through Docker/build tooling.Reviewed by Cursor Bugbot for commit dff54c9. Bugbot is set up for automated code reviews on this repo. Configure here.