Skip to content

vendor: tags.cncf.io/container-device-interface 05ae4b5bb730 - #14004

Merged
mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_cdi
Aug 22, 2026
Merged

mxpv merged 1 commit into
containerd:mainfrom
thaJeztah:bump_cdi

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

update to current main to remove some transitive dependencies

Copilot AI lite review requested due to automatic review settings August 21, 2026 11:51
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Aug 21, 2026
@thaJeztah thaJeztah added this to the 2.4 milestone 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

Updates the vendored tags.cncf.io/container-device-interface dependency to a newer commit to reduce transitive dependencies, including switching YAML usage away from gopkg.in/yaml.v3 and aligning various helper implementations with newer Go APIs.

Changes:

  • Vendor bump of tags.cncf.io/container-device-interface and its specs-go dependency (new pseudo-versions in go.mod, go.sum, and vendor/modules.txt).
  • Replace some string parsing logic with strings.Cut and simplify annotation validation.
  • Remove vendored gopkg.in/yaml.v3 implementation files and switch CDI’s ordered YAML import to go.yaml.in/yaml/v3.

Reviewed changes

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

Show a summary per file
File Description
vendor/tags.cncf.io/container-device-interface/specs-go/version.go Refactors kind parsing/annotation checks using strings.Cut and len(...).
vendor/tags.cncf.io/container-device-interface/pkg/parser/parser.go Refactors device/qualifier parsing to use strings.Cut.
vendor/tags.cncf.io/container-device-interface/pkg/cdi/spec.go Switches ordered YAML import to go.yaml.in/yaml/v3; updates deprecation comment.
vendor/tags.cncf.io/container-device-interface/pkg/cdi/spec-dirs.go Refactors spec directory scanning from filepath.Walk to os.ReadDir and updates related docs.
vendor/tags.cncf.io/container-device-interface/pkg/cdi/container-edits.go Updates deprecation comment for ValidateIntelRdt.
vendor/tags.cncf.io/container-device-interface/pkg/cdi/cache.go Renames embedded mutex to a named field, adds deprecated Lock/Unlock wrappers, adjusts locking call sites.
vendor/tags.cncf.io/container-device-interface/internal/validation/validate.go Simplifies spec-annotation validation and removes strings.Join usage.
vendor/tags.cncf.io/container-device-interface/internal/validation/k8s/validation.go Removes unused K8s validation helpers/constants to trim dependencies/surface area.
vendor/modules.txt Updates vendored module versions and drops explicit gopkg.in/yaml.v3.
vendor/gopkg.in/yaml.v3/yamlprivateh.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/yamlh.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/yaml.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/writerc.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/sorter.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/resolve.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/README.md Removes vendored gopkg.in/yaml.v3 documentation.
vendor/gopkg.in/yaml.v3/readerc.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/parserc.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/NOTICE Removes vendored gopkg.in/yaml.v3 notice file content.
vendor/gopkg.in/yaml.v3/LICENSE Removes vendored gopkg.in/yaml.v3 license file content.
vendor/gopkg.in/yaml.v3/encode.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/decode.go Removes vendored gopkg.in/yaml.v3 content.
vendor/gopkg.in/yaml.v3/apic.go Removes vendored gopkg.in/yaml.v3 content.
go.sum Updates sums for bumped CDI versions; removes sums for dropped deps.
go.mod Bumps CDI versions and removes indirect gopkg.in/yaml.v3 requirement.

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

Copilot AI review requested due to automatic review settings August 21, 2026 11:56

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

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 21, 2026
@mxpv
mxpv added this pull request to the merge queue Aug 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Aug 21, 2026
@samuelkarp

Copy link
Copy Markdown
Member

Needs a rebase now

update to current main to remove some transitive dependencies

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copilot AI review requested due to automatic review settings August 21, 2026 21:57
@thaJeztah

Copy link
Copy Markdown
Member Author

LOL; self-inflicted conflict (one of my other PRs)

rebased 👍

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

@mxpv
mxpv added this pull request to the merge queue Aug 21, 2026
Merged via the queue into containerd:main with commit 6c12665 Aug 22, 2026
88 of 90 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