Skip to content

⬆️ Bump dependencies - #15

Merged
EricHripko merged 6 commits into
EricHripko:mainfrom
rhoban13:bump_versions
May 23, 2026
Merged

EricHripko merged 6 commits into
EricHripko:mainfrom
rhoban13:bump_versions

Conversation

@rhoban13

@rhoban13 rhoban13 commented Apr 17, 2026 •

Copy link
Copy Markdown
Contributor

Ran go get -u ./... and go mod tidy.

Then a few fixes noted for changes in buildkit sdk.

@rhoban13
rhoban13 marked this pull request as draft April 17, 2026 13:45
Comment thread pkg/cib/service.go
Comment thread go.mod
github.com/moby/buildkit v0.13.2
github.com/containerd/containerd v1.7.31
github.com/distribution/reference v0.6.0
github.com/moby/buildkit v0.29.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bump I'm most interested in. Some changes in HEALTHCHECK

Comment thread pkg/dtp/proxy.go
return res, err
}

func (proxy *dockerfileTransformingLLBProxy) ReadFileContainer(ctx context.Context, in *pb.ReadFileRequest, opts ...grpc.CallOption) (*pb.ReadFileResponse, error) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New methods added to the interface in moby/buildkit#6262

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, this is used to inspect filesystems of running containers (potentially to support debugging via moby/buildkit#5938). I don't think we need to include the transform logic here for now. What do you think?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes seems so . I added it here b/c it was added to the interface returned by NewDockerfileTransformingLLBProxy, and admittedly I'm not sure how that interface ends up being used in here - someplace inside the client.Client I think.

Easy to define its own interface here instead - I tried it and it at least builds & tests pass.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong preference. Let's stick with what you got here.

@rhoban13
rhoban13 marked this pull request as ready for review April 17, 2026 17:38
@rhoban13

Copy link
Copy Markdown
Contributor Author

@EricHripko for your review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Go module dependencies (notably BuildKit) and adapts the codebase to upstream API changes introduced by the newer SDK.

Changes:

  • Bumped Go module dependencies via go get -u ./... and go mod tidy (major BuildKit upgrade).
  • Updated BuildKit gateway proxy and generated mocks to support new *Container RPCs.
  • Adjusted image config resolution options (sourceresolver.Opt) to match updated BuildKit API.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pkg/dtp/proxy.go Adds forwarding methods for new ReadFileContainer/ReadDirContainer/StatFileContainer calls (including Dockerfile transform on container reads).
pkg/dtp/mock/client.go Regenerates GoMock client to include new *Container methods.
pkg/cib/service.go Updates ResolveImageConfig option wiring to new ResolveImageOpt structure.
pkg/cib/service_test.go Updates tests to match the new sourceresolver.Opt structure.
go.mod Updates direct/indirect dependencies and changes the module go version line.
go.sum Updates checksums for the new dependency graph.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@EricHripko

Copy link
Copy Markdown
Owner

CI seems to be failing still - let me know if you need a hand with fixing this up 👍

@codecov

codecov Bot commented May 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 5.88235% with 48 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.02%. Comparing base (f6a14e0) to head (6787fb5).

Files with missing lines Patch % Lines
pkg/dtp/mock/client.go 0.00% 39 Missing ⚠️
pkg/dtp/proxy.go 0.00% 9 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (f6a14e0) and HEAD (6787fb5). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (f6a14e0) HEAD (6787fb5)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #15       +/-   ##
===========================================
- Coverage   89.16%   28.02%   -61.15%     
===========================================
  Files           5        9        +4     
  Lines         277      885      +608     
===========================================
+ Hits          247      248        +1     
- Misses         26      633      +607     
  Partials        4        4               

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@EricHripko

Copy link
Copy Markdown
Owner

I think we need to upgrade https://github.com/golangci/golangci-lint-action to a newer version to utilise the newer golangci-lint per compatibility.

@rhoban13

Copy link
Copy Markdown
Contributor Author

Thanks for the pointer @EricHripko. Updated golangci-lint

@EricHripko

Copy link
Copy Markdown
Owner

Sorry for the delay in getting back to you! Final stretch - looks like there's a few lints that golangci-lint complains about. Let me know if you need a hand fixing these!

@rhoban13

Copy link
Copy Markdown
Contributor Author

Updated - I think I've got it, mostly packages moving around.

@EricHripko EricHripko left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great ✅ Thank you for taking the time to contribute 🙌

@EricHripko
EricHripko merged commit 5acc847 into EricHripko:main May 23, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants