Skip to content

runc-shim: add unit tests - #493

Merged
mxpv merged 1 commit into
mainfrom
runc-tests
Sep 19, 2026
Merged

mxpv merged 1 commit into
mainfrom
runc-tests

Conversation

@mxpv

@mxpv mxpv commented Sep 4, 2026

Copy link
Copy Markdown
Member

Adds test coverage for the shim, driven through the ttrpc Task service over a fake OCI runtime so the tests describe observable behaviour rather than the types underneath. Covers the container and exec lifecycle, exit and wait handling, published events and error mapping, plus the leaf helpers in common.rs, io.rs and runc.rs.

RuncFactory gains an injectable spawner, completing a seam the rest of the chain already had. No behaviour change.

Adds test coverage for the shim, driven through the ttrpc Task service
over a fake OCI runtime so the tests describe observable behaviour rather
than the types underneath. Covers the container and exec lifecycle, exit
and wait handling, published events and error mapping, plus the leaf
helpers in common.rs, io.rs and runc.rs.

RuncFactory gains an injectable spawner, completing a seam the rest of the
chain already had. No behaviour change.
@github-actions github-actions Bot added the C-runc-shim Runc shim label Sep 4, 2026
@mxpv
mxpv requested a review from a team September 4, 2026 22:39
@mxpv
mxpv added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 17, 2026
@mxpv
mxpv added this pull request to the merge queue Sep 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 17, 2026
@mxpv
mxpv added this pull request to the merge queue Sep 19, 2026
Merged via the queue into main with commit 76476d5 Sep 19, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-runc-shim Runc shim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant