Skip to content

vendor: bump go-cni v1.1.14 and containernetworking/cni v1.3.1 - #14104

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
mxpv:cni
Sep 4, 2026
Merged

AkihiroSuda merged 1 commit into
containerd:mainfrom
mxpv:cni

Conversation

@mxpv

@mxpv mxpv commented Sep 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings September 3, 2026 20:47
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Sep 3, 2026
@mxpv mxpv added this to the 2.4 milestone Sep 3, 2026

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

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.

🟡 Changes recommended

The new trace environment injection logic can break plugin execution when the environment is intended to be inherited (nil Env semantics) and should be corrected before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR bumps the vendored CNI libraries (github.com/containerd/go-cni and github.com/containernetworking/cni) to newer patch releases, bringing in updated CNI behaviors plus OpenTelemetry tracing propagation/instrumentation for CNI operations.

Changes:

  • Bump github.com/containerd/go-cni to v1.1.14 and github.com/containernetworking/cni to v1.3.1 (go.mod/go.sum/vendor metadata).
  • Add OpenTelemetry trace context propagation into CNI plugin exec environments and add tracing spans around go-cni operations.
  • Update vendored CNI library internals (error codes, doc tweaks, and DEL cached-result behavior adjustment).
File summaries
File Description
vendor/modules.txt Updates vendored module versions for go-cni and containernetworking/cni.
vendor/github.com/containernetworking/cni/pkg/version/version.go Minor vendored doc/param rename in version helper.
vendor/github.com/containernetworking/cni/pkg/types/types.go Adds new well-known error codes and updates spec link.
vendor/github.com/containernetworking/cni/pkg/invoke/raw_exec.go Injects OpenTelemetry trace context into plugin environment; improves error message.
vendor/github.com/containernetworking/cni/libcni/api.go Adjusts DEL cached-result handling behavior in vendored libcni.
vendor/github.com/containerd/go-cni/cni.go Adds OpenTelemetry spans/status for go-cni setup/remove/check and network attach paths.
go.sum Updates checksums for bumped dependencies.
go.mod Bumps required versions of go-cni and containernetworking/cni.
Review details
  • Files reviewed: 1/8 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@mxpv mxpv moved this from Needs Triage to Needs Reviewers in Pull Request Review Sep 3, 2026
@github-project-automation github-project-automation Bot moved this from Needs Reviewers to Review In Progress in Pull Request Review Sep 4, 2026
@AkihiroSuda
AkihiroSuda added this pull request to the merge queue Sep 4, 2026
Merged via the queue into containerd:main with commit 3cd7777 Sep 4, 2026
96 of 98 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 4, 2026
@mxpv
mxpv deleted the cni branch September 4, 2026 17:52
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.

4 participants