-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
nydus: update nydus-snapshotter dependency to v0.8.0 #3814
Conversation
cc @imeoer |
Thanks! @changweige Can we also update the nydusd component version here and here ? |
What nydusd version are we suggesting now? |
Also, is there a reason we need to bump the AWS SDK and protobuf deps as well? Are these dependencies pulled from nydus? If not, we should avoid bumping deps that are out of scope for this change. |
|
Nydus-snapshotter/converter does not record image's blobs digest on nydus image anymore since it is easy to overflow annotations' limiitations of Containerd. Nydus-snapshotter now relies on Containerd to GC. Signed-off-by: Changwei Ge <[email protected]>
Sorry for the late reply. Buildkit should only depend on the package |
Yeah, go modules unfortunately aren't that smart. the
I tried to convince the Go maintainers that this can be really problematic in projects with a large dependency tree, but they considered this to be "not a problem", and "easy to fix" for everyone (but too much work for Go itself); |
Thanks @thaJeztah for the helpful information. Sounds like a way to address this is to make |
It should be fine actually - I was just wondering why those deps also got bumped, since it seemed out of scope for this PR. I think it's fine to take the AWS SDK update with the nydus one 🎉 |
Possibly that would work, but "sub-modules" (more actually they are "multi-module repositories") can be a big pain as well, especially if there's dependencies between those modules within your repo so I'd be careful introducing one.
Yes, I think it's probably fine; I just recalled that I also had to update the dependency as part of updating the docker dependency to v24.0.0; #3846 In that PR I split it to separate commits to make it a bit more granular. |
@changweige can you update the suggested nydus version as mentioned by @imeoer: #3814 (comment). Otherwise, this LGTM. |
@thaJeztah Thanks for sharing the granular way to make the vendor code update more clear. But I feel like it's hard to apply the same method to this PR since the nydus-snapshotter's API has changed within v0.8.0 which means I have to make changing |
Nydus has released more stable versions Signed-off-by: Changwei Ge <[email protected]>
Thanks @jedevc . I have already updated the suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@changweige You need to update generated files with make generated-files
since protobuf deps update.
Because the protobuf has been bumped Signed-off-by: Changwei Ge <[email protected]>
@crazy-max Thanks for reminding me. I have already run |
@changweige @imeoer it looks like since this merged we've got a lot more nydus related flakiness (also possibly related to #3786) For example, see https://github.com/moby/buildkit/pull/3881/files:
|
Thanks for the report, will try to fix in containerd/nydus-snapshotter#483. |
Nydus-snapshotter/converter does not record image's blobs digest on nydus image anymore since it is easy to overflow annotations' size limitation of Containerd. Nydus-snapshotter now relies on Containerd to GC.