Skip to content

Use new shim bootstrap protocol#155

Merged
akerouanton merged 1 commit intocontainerd:mainfrom
dmcgowan:update-containerd-latest-dev
Apr 13, 2026
Merged

Use new shim bootstrap protocol#155
akerouanton merged 1 commit intocontainerd:mainfrom
dmcgowan:update-containerd-latest-dev

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Update containerd version and use the new bootstrap protocol.

Copilot AI review requested due to automatic review settings April 11, 2026 07:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates nerdbox’s containerd shim integration to the newer bootstrap protocol and bumps related dependencies/tooling to match the updated containerd APIs.

Changes:

  • Switch shim entrypoint to shim.RunShim(...) and update NewShimManager to return the new shim.Shim interface.
  • Migrate shim manager Start implementations (unix/windows) to the new bootstrap API request/response types.
  • Update Go module dependencies (containerd/api, hcsshim/go-winio, otel, x/*, etc.) and Go version directive.

Reviewed changes

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

Show a summary per file
File Description
internal/shim/manager/manager.go Updates NewShimManager to return shim.Shim (new shim bootstrap integration).
internal/shim/manager/manager_unix.go Ports Start to bootapi.BootstrapParams/BootstrapResult and socket-dir sourcing via bootstrap params.
internal/shim/manager/manager_windows.go Ports Start to new bootstrap API and adds named-pipe readiness polling before returning address.
cmd/containerd-shim-nerdbox-v1/main.go Switches shim entrypoint from Run to RunShim to match updated shim framework.
go.mod Updates Go version directive and dependency versions/replacements to align with new containerd bootstrap protocol.
go.sum Refreshes dependency checksums for the updated module graph.

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

@dmcgowan dmcgowan force-pushed the update-containerd-latest-dev branch from 0cb32ca to 9a2142b Compare April 13, 2026 05:03
Copilot AI review requested due to automatic review settings April 13, 2026 05:12
@dmcgowan dmcgowan force-pushed the update-containerd-latest-dev branch from 9a2142b to 1f37560 Compare April 13, 2026 05:12
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.


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

Update containerd version and use the new bootstrap protocol.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan dmcgowan force-pushed the update-containerd-latest-dev branch from 1f37560 to ea581d1 Compare April 13, 2026 05:20
@akerouanton akerouanton merged commit 73cc270 into containerd:main Apr 13, 2026
12 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