Skip to content

Bump go-runc to 1.2.0 - #14006

Merged
fuweid merged 1 commit into
containerd:mainfrom
mxpv:gorunc
Aug 22, 2026
Merged

fuweid merged 1 commit into
containerd:mainfrom
mxpv:gorunc

Conversation

@mxpv

@mxpv mxpv commented Aug 21, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Maksym Pavlenko <[email protected]>
Copilot AI lite review requested due to automatic review settings August 21, 2026 22:27
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Aug 21, 2026

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 vendored github.com/containerd/go-runc dependency from v1.1.0 to v1.2.0, updating containerd’s embedded runc client implementation to match the upstream release referenced in the PR description.

Changes:

  • Update module dependency metadata to github.com/containerd/go-runc v1.2.0 (go.mod, go.sum, vendor/modules.txt).
  • Vendor in go-runc v1.2.0 code updates, including new unix-socket helpers and pidfd socket support.
  • Extend vendored go-runc command invocation behavior (extra env via context, configurable working directory, and exec log file override).

Reviewed changes

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

Show a summary per file
File Description
go.mod Bumps github.com/containerd/go-runc requirement to v1.2.0.
go.sum Updates checksums for github.com/containerd/go-runc v1.2.0.
vendor/modules.txt Updates vendoring metadata for github.com/containerd/go-runc v1.2.0 (including module go version line).
vendor/github.com/containerd/go-runc/runc.go Adds pidfd socket support, per-exec log file override, and adjusts runc arg building.
vendor/github.com/containerd/go-runc/command_linux.go Adds support for extra env injection and WorkDir on Linux command execution.
vendor/github.com/containerd/go-runc/command_other.go Adds support for extra env injection and WorkDir on non-Linux command execution.
vendor/github.com/containerd/go-runc/env.go Introduces WithExtraEnv context helper for passing extra env vars to runc invocations.
vendor/github.com/containerd/go-runc/socket.go Introduces a shared unix-socket implementation for receiving FDs from runc.
vendor/github.com/containerd/go-runc/pidfd.go Adds pidfd socket creation/receive helpers (non-Windows).
vendor/github.com/containerd/go-runc/console.go Refactors console socket code to reuse the shared socket implementation.
vendor/github.com/containerd/go-runc/events.go Extends stats struct to include network interface stats.

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

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 22, 2026
@fuweid
fuweid added this pull request to the merge queue Aug 22, 2026
Merged via the queue into containerd:main with commit fd399bd Aug 22, 2026
51 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Aug 22, 2026
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.

5 participants