Skip to content

chore(deps): fix build breakage from runtime-spec v1.3.0 LinuxPids.Limit type change#86

Closed
Copilot wants to merge 4 commits intodependabot/go_modules/github.com/opencontainers/runtime-spec-1.3.0from
copilot/sub-pr-75
Closed

chore(deps): fix build breakage from runtime-spec v1.3.0 LinuxPids.Limit type change#86
Copilot wants to merge 4 commits intodependabot/go_modules/github.com/opencontainers/runtime-spec-1.3.0from
copilot/sub-pr-75

Conversation

Copy link

Copilot AI commented Mar 13, 2026

runtime-spec v1.3.0 changed LinuxPids.Limit from int64 to *int64, breaking compilation in two dependencies that assigned non-pointer values to this field.

Changes

  • Migrate containerd v1 → v2: containerd v1.7.x never backported the *int64 fix. Updated internal/containerd/containerd.go to use github.com/containerd/containerd/v2 import paths (/v2/client, /v2/pkg/cio, /v2/pkg/namespaces, /v2/pkg/oci).

  • Update runtime-tools: Bumped indirect dep from v0.9.1-0.20250523060157-0ea5ed0382a2 to v0.9.1-0.20251205004911-5e639034dcdc, which includes the upstream fix (Pids.Limit = &limit).

Before (broken with runtime-spec v1.3.0):

s.Linux.Resources.Pids.Limit = limit  // int64, won't compile

After (fixed in both containerd/v2 and updated runtime-tools):

s.Linux.Resources.Pids.Limit = &limit  // *int64

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

dependabot bot and others added 2 commits January 19, 2026 04:04
Bumps [github.com/opencontainers/runtime-spec](https://github.com/opencontainers/runtime-spec) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/opencontainers/runtime-spec/releases)
- [Changelog](https://github.com/opencontainers/runtime-spec/blob/main/ChangeLog)
- [Commits](opencontainers/runtime-spec@v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runtime-spec
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copilot AI and others added 2 commits March 13, 2026 15:44
Co-authored-by: dottorblaster <20770+dottorblaster@users.noreply.github.com>
…ec v1.3.0 compatibility

Co-authored-by: dottorblaster <20770+dottorblaster@users.noreply.github.com>
Copilot AI changed the title [WIP] chore(deps): bump github.com/opencontainers/runtime-spec to 1.3.0 chore(deps): fix build breakage from runtime-spec v1.3.0 LinuxPids.Limit type change Mar 13, 2026
Copilot AI requested a review from dottorblaster March 13, 2026 15:50
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/opencontainers/runtime-spec-1.3.0 branch from db67fcc to 4c941ce Compare March 13, 2026 16:54
@dottorblaster dottorblaster deleted the copilot/sub-pr-75 branch March 14, 2026 09:06
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.

2 participants