Skip to content

vendor: github.com/containerd/nri v0.12.3 - #14065

Merged
fuweid merged 1 commit into
containerd:mainfrom
thaJeztah:bump_nri
Sep 10, 2026
Merged

fuweid merged 1 commit into
containerd:mainfrom
thaJeztah:bump_nri

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

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 updates vendored dependencies to newer main snapshots for github.com/containerd/nri and github.com/containerd/log, including new slog↔logrus bridging utilities and corresponding log-level call-site updates across containerd.

Changes:

  • Bump github.com/containerd/log and github.com/containerd/nri to newer main pseudo-versions (and refresh vendored contents / go.sum / modules.txt).
  • Add vendored github.com/sirupsen/logrus/hooks/slog and wire containerd/log to optionally forward logrus through log/slog.
  • Update various call sites to use log.<Level>Level constants instead of string level names; fix NRI sysctl removal bookkeeping.

Reviewed changes

Copilot reviewed 7 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vendor/modules.txt Update vendored module versions and include new logrus hooks/slog package path.
vendor/github.com/sirupsen/logrus/hooks/slog/slog.go New vendored adapter: forward logrus entries to slog.
vendor/github.com/sirupsen/logrus/hooks/slog/level.go New vendored level mapping between logrus and slog.
vendor/github.com/sirupsen/logrus/hooks/slog/handler.go New vendored adapter: forward slog records to logrus.
vendor/github.com/containerd/nri/pkg/adaptation/result.go Fix sysctl removal markers to be written to Linux.Sysctl adjustments.
vendor/github.com/containerd/nri/Makefile Switch NRI tests from ginkgo runner to go test coverage flow.
vendor/github.com/containerd/nri/.golangci.yml Remove revive exclusion related to dot-imports (ginkgo/gomega tests).
vendor/github.com/containerd/log/slog.go New optional slog forwarding hook for containerd/log.
vendor/github.com/containerd/log/context.go Extend SetLevel to accept non-string level types; update SetFormat to configure slog when enabled.
vendor/github.com/containerd/log/.golangci.yml Update golangci configuration schema and enabled tool set.
vendor/github.com/containerd/log/.gitattributes Add LF normalization for the vendored module.
plugins/snapshots/devmapper/snapshotter_test.go Use log.DebugLevel constant instead of "debug".
plugins/snapshots/devmapper/pool_device_test.go Use log.DebugLevel constant instead of "debug".
pkg/shim/shim.go Use log.DebugLevel constant instead of "debug".
core/snapshots/benchsuite/benchmark_test.go Use log.ErrorLevel constant instead of "error".
cmd/ctr/app/main.go Use log.DebugLevel constant instead of "debug".
cmd/containerd-stress/main.go Use log.WarnLevel / log.DebugLevel constants instead of strings.
go.mod Bump required versions for containerd/log and containerd/nri to main pseudo-versions.
go.sum Refresh checksums for updated containerd/log and containerd/nri versions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

🟢 Approval recommended

The change is a straightforward dependency/vendor bump with a small, targeted upstream bugfix and no detected integration issues in the reviewed diffs.

Review details
  • Files reviewed: 1/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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.

🟢 Approval recommended

The diff is a straightforward dependency/vendor sync and the only functional change is consistent with existing initialization of reply.adjust.Linux.Sysctl.

Review details
  • Files reviewed: 1/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@samuelkarp

Copy link
Copy Markdown
Member

@thaJeztah Just published https://github.com/containerd/nri/releases/tag/v0.12.3 so we can use that here.

Copilot AI review requested due to automatic review settings September 10, 2026 06:43
@thaJeztah thaJeztah changed the title vendor: github.com/containerd/nri main vendor: github.com/containerd/nri v0.12.3 Sep 10, 2026
@thaJeztah thaJeztah added this to the 2.4 milestone Sep 10, 2026
@thaJeztah
thaJeztah marked this pull request as ready for review September 10, 2026 06:44
@thaJeztah

Copy link
Copy Markdown
Member Author

@samuelkarp @dmcgowan updated to use the tag 👍

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.

🟢 Approval recommended

The changes are a straightforward dependency/vendor bump with a small, consistent fix in vendored sysctl adjustment handling and no identified issues in the modified hunks.

Review details
  • Files reviewed: 1/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@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.

LGTM

@mikebrow mikebrow added the area/nri Node Resource Interface (NRI) label Sep 10, 2026
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 10, 2026
@fuweid
fuweid added this pull request to the merge queue Sep 10, 2026
Merged via the queue into containerd:main with commit 63ea46d Sep 10, 2026
55 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 10, 2026
@thaJeztah
thaJeztah deleted the bump_nri branch September 10, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/nri Node Resource Interface (NRI) size/M

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants