Commit Graph

16091 Commits

Author SHA1 Message Date
dependabot[bot]
94de254cbc build(deps): bump github.com/sirupsen/logrus from 1.9.3 to 1.9.4
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 23:59:21 +00:00
Maksym Pavlenko
669ddc4003 Merge pull request #12795 from NAM-MAN/fix-typo
fix: typo in comment
2026-01-19 19:33:36 +00:00
Yohei Yamamoto
e066861ac7 fix: typo in comment
Signed-off-by: Yohei Yamamoto <yhymmt123@gmail.com>
2026-01-18 01:27:51 +09:00
Maksym Pavlenko
fb805016c4 Merge pull request #12773 from mxpv/podsandbox
cri/podsandbox: reduce dependencies to internal CRI APIs
2026-01-17 07:04:37 +00:00
Samuel Karp
cb15e731a1 Merge pull request #12732 from pauloappbr/fix/12683-go124-symlink-resolution
fix(oci): handle absolute symlinks in rootfs user lookup
2026-01-14 00:28:45 +00:00
Samuel Karp
9cd2e74431 Merge pull request #12748 from ningmingxiao/fix_args
command: show help and exit on unknown positional arguments
2026-01-14 00:19:47 +00:00
Paulo Oliveira
9bbb1309f0 test(oci): use fstest and mock fs for better symlink coverage
Signed-off-by: Paulo Oliveira <paulo.hco47@gmail.com>
2026-01-13 20:00:34 -03:00
Fu Wei
f0e04e581c Merge pull request #12416 from ningmingxiao/fix_content_dir
content: ensure root directory exists before checking fs-verity support
2026-01-13 19:55:15 +00:00
Fu Wei
bb12a6cd34 Merge pull request #12755 from aledbf/aledbf/snapshot-parent
snapshotservice: add WithParent handling for Commit + tests
2026-01-13 19:52:16 +00:00
Maksym Pavlenko
87a16b2695 Merge pull request #12769 from klihub/devel/main/nri-input/container-user
cri,nri: pass container user (uid, gids) to plugins.
2026-01-13 19:42:42 +00:00
Fu Wei
704a2ff7eb Merge pull request #12763 from ningmingxiao/chekpoint_2
cri: fix create container panic if originalAnnotations is nil
2026-01-13 19:42:05 +00:00
Maksym Pavlenko
7ef50acccf Reduce ImageService interface dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-13 09:05:08 -08:00
Mike Brown
e9dc15b7a5 Merge pull request #12776 from mxpv/breaking
Detect breaking API changes in proto files
2026-01-13 14:08:53 +00:00
Krisztian Litkey
b0bd04b046 cri,nri: pass container user (uid, gids) to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-13 07:59:37 -06:00
Akihiro Suda
4ef0e722f2 Merge pull request #12778 from containerd/dependabot/go_modules/golang-x-c601d64063
build(deps): bump the golang-x group with 2 updates
2026-01-13 11:07:12 +00:00
Akihiro Suda
f7ecfc5396 Merge pull request #12779 from containerd/dependabot/github_actions/github/codeql-action-4.31.10
build(deps): bump github/codeql-action from 4.31.9 to 4.31.10
2026-01-13 11:06:55 +00:00
ningmingxiao
677e991bb5 command: show help and exit on unknown positional arguments
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2026-01-13 18:50:07 +08:00
dependabot[bot]
ac70789ec8 build(deps): bump github/codeql-action from 4.31.9 to 4.31.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.9 to 4.31.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5d4e8d1aca...cdefb33c0f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-13 03:39:12 +00:00
dependabot[bot]
ddb6b166e3 build(deps): bump the golang-x group with 2 updates
Bumps the golang-x group with 2 updates: [golang.org/x/mod](https://github.com/golang/mod) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/mod` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/mod/compare/v0.31.0...v0.32.0)

Updates `golang.org/x/sys` from 0.39.0 to 0.40.0
- [Commits](https://github.com/golang/sys/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
- dependency-name: golang.org/x/sys
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: golang-x
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-13 03:39:06 +00:00
Maksym Pavlenko
1b4f588f3f Detect breaking API changes in protos
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-12 16:31:49 -08:00
Maksym Pavlenko
1be58315b6 Merge pull request #12768 from klihub/devel/main/nri-input/seccomp-policy
cri,nri: pass seccomp policy to plugins.
2026-01-12 16:38:19 +00:00
Krisztian Litkey
cfec4b30a7 cri,nri: pass seccomp policy to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-12 09:59:58 -06:00
ningmingxiao
5f0f0dcaac content: ensure root directory exists before checking fs-verity support
Currently, fs-verity support detection fails on fresh containerd
installations because the content store root directory
(io.containerd.content.v1.content) doesn't exist yet. This directory
is only created when pulling images, causing checker to
always be false on new hosts.

The IsSupported() function attempts to create a temporary directory
within rootPath to test fs-verity support, but fails when rootPath
doesn't exist, returning an error that is silently ignored.

Fix this by ensuring the root directory exists before performing
the fs-verity support check in NewLabeledStore().

Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2026-01-12 09:58:11 -06:00
Derek McGowan
eb888dce45 Merge pull request #12765 from klihub/devel/main/nri-input/rlimits
cri,nri: pass any POSIX rlimits to plugins.
2026-01-12 15:02:52 +00:00
Fu Wei
cdc56ea306 Merge pull request #12758 from ningmingxiao/check_point_1
cri: fix checkpoint failed with short id
2026-01-12 14:22:12 +00:00
ningmingxiao
9018c75d5d cri: fix create container panic if originalAnnotations is nil when restore container
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2026-01-12 15:13:06 +08:00
Krisztian Litkey
7b85525cfe cri,nri: pass any POSIX rlimits to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-11 18:16:50 +02:00
Maksym Pavlenko
1bc4ec54bd Merge pull request #12770 from klihub/devel/main/nri-input/container-extra-status
cri,nri: pass extended container status to NRI.
2026-01-10 16:09:10 +00:00
Krisztian Litkey
695c91324a cri,nri: pass extended container status to NRI.
Pass more complete container status information to NRI, including
exit code, and timestamps for container creation, start, and exit
events.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-10 10:50:07 +02:00
Maksym Pavlenko
3bcdbd8a49 Merge pull request #12771 from estesp/buf-followup
Remove protoc dependency from BUILDING.md
2026-01-10 00:56:06 +00:00
Maksym Pavlenko
04366a910a Merge pull request #12767 from klihub/devel/main/nri-input/cdi-devices
cri,nri: pass injected CDI devices to plugins.
2026-01-09 23:30:48 +00:00
Derek McGowan
8e2aa0b9e8 Merge pull request #12766 from klihub/devel/main/nri-input/sysctl
cri,nri: pass linux sysctl to plugins.
2026-01-09 22:44:41 +00:00
Phil Estes
19f39fee6f Remove protoc dependency from BUILDING.md
This line was missed in the PR to switch to `buf`

Signed-off-by: Phil Estes <estesp@amazon.com>
2026-01-09 16:34:39 -05:00
Krisztian Litkey
98a2e88767 cri,nri: pass injected CDI devices to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-09 15:19:32 -06:00
Fu Wei
a49ed606a4 Merge pull request #12762 from mxpv/proto
Migrate from protobuild to buf
2026-01-09 19:41:38 +00:00
ningmingxiao
0dc9582295 cri: fix checkpoint failed with short id
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2026-01-09 10:47:37 -06:00
Krisztian Litkey
250388dcd9 cri,nri: pass linux sysctl to plugins.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2026-01-09 14:37:52 +02:00
Akihiro Suda
9d247a7993 Merge pull request #12433 from halaney/ahalaney/erofs-idmap-latest
Add erofs idmap support
2026-01-09 06:35:49 +00:00
Fu Wei
f1c9951921 Merge pull request #12737 from Cindia-blue/tracing-followups
Tracing: add spans in task/metadata and sandbox paths
2026-01-09 01:30:18 +00:00
Maksym Pavlenko
f87550d068 Install buf from install-dev-tools
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 17:03:28 -08:00
Maksym Pavlenko
dac9721faf Drop outdated pb.txt files
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 16:51:57 -08:00
Maksym Pavlenko
6a6283193b Update pb files
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 16:47:41 -08:00
Maksym Pavlenko
57782b7175 Move buf configuration under api/
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 16:46:18 -08:00
Maksym Pavlenko
248ee80fab Remove GOPATH workaround from Makefile
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 16:42:26 -08:00
Maksym Pavlenko
39991b6617 Use relative import intead of GOPATH style imports
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 16:41:46 -08:00
Cindia-blue
fb295b9d4f Tracing: add spans in task/metadata and sandbox paths
This PR adds opt-in tracing spans/attributes in CRI image pull and selected sandbox-related paths to improve debugging and correlation (e.g., sandbox.id/pod metadata). If maintainers prefer a smaller diff, I’m happy to split this into a pull-only PR plus follow-ups.
• follow-up after pull-only PR
• focuses on task/metadata/sandbox/cni setup spans

Signed-off-by: Cindy Li <cindyli@pinterest.com>
2026-01-09 00:05:37 +00:00
Maksym Pavlenko
edb3e08697 Remove protobuf
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 15:40:54 -08:00
Maksym Pavlenko
aca62ae10d Install buf on demand via go install
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 15:23:01 -08:00
Maksym Pavlenko
eb586b5ef2 Regenerate proto files
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 15:13:02 -08:00
Maksym Pavlenko
e63f1d3ab4 Use buf to generate proto code
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-01-08 15:12:50 -08:00