Skip to content

build: bump github.com/containerd/nri - #13812

Merged
samuelkarp merged 1 commit into
containerd:mainfrom
ningmingxiao:bump_nri
Jul 22, 2026
Merged

samuelkarp merged 1 commit into
containerd:mainfrom
ningmingxiao:bump_nri

Conversation

@ningmingxiao

@ningmingxiao ningmingxiao commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

fix #13733

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the github.com/containerd/nri dependency to a newer v0.12.1 pseudo-version and updates the vendored NRI sources and module metadata accordingly, keeping containerd’s embedded NRI integration aligned with upstream.

Changes:

  • Bump github.com/containerd/nri from v0.12.0 to v0.12.1-0.20260718221210-84180b63351d in go.mod/go.sum and vendor/modules.txt.
  • Update vendored NRI code, including removing the Adaptation mutex around updateContainers() (now directly delegates to updateFn).
  • Update vendored NRI .gitignore to ensure pkg/version/info/none is not ignored.

Reviewed changes

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

Show a summary per file
File Description
vendor/modules.txt Updates vendored module version metadata for the bumped NRI dependency.
vendor/github.com/containerd/nri/pkg/adaptation/adaptation.go Adjusts vendored NRI behavior by removing the Adaptation lock in updateContainers().
vendor/github.com/containerd/nri/.gitignore Tweaks vendored ignore rules to keep pkg/version/info/none tracked.
go.sum Updates checksums for the new NRI pseudo-version.
go.mod Bumps the required NRI version to the new pseudo-version.

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

@ningmingxiao

Copy link
Copy Markdown
Contributor Author

do we need to release containerd/nri to v0.12.1 @mxpv @mikebrow ?

@mikebrow mikebrow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nri v012.1 has been tagged pls update and revendor for this pr

Comment thread go.mod Resolved
Copilot AI review requested due to automatic review settings July 20, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 out of 5 changed files in this pull request and generated no new comments.

@ningmingxiao

Copy link
Copy Markdown
Contributor Author

ping @mikebrow @fuweid can this pr be merged?

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Jul 22, 2026
@samuelkarp
samuelkarp added this pull request to the merge queue Jul 22, 2026
Merged via the queue into containerd:main with commit 55e47e1 Jul 22, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Jul 22, 2026
@ningmingxiao
ningmingxiao deleted the bump_nri branch July 22, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

NRI deadlock between plugin-initiated Runtime.UpdateContainers and CRI lifecycle/update events

5 participants