Repository navigation
vendor: tags.cncf.io/container-device-interface 05ae4b5bb730 - #14004
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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-interfaceand itsspecs-godependency (new pseudo-versions ingo.mod,go.sum, andvendor/modules.txt). - Replace some string parsing logic with
strings.Cutand simplify annotation validation. - Remove vendored
gopkg.in/yaml.v3implementation files and switch CDI’s ordered YAML import togo.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.
fuweid
approved these changes
Aug 21, 2026
mxpv
approved these changes
Aug 21, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Aug 21, 2026
Member
|
Needs a rebase now |
update to current main to remove some transitive dependencies Signed-off-by: Sebastiaan van Stijn <[email protected]>
Member
Author
|
LOL; self-inflicted conflict (one of my other PRs) rebased 👍 |
samuelkarp
approved these changes
Aug 21, 2026
This was referenced Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
update to current main to remove some transitive dependencies