Skip to content

Add ---commit - #25

Merged
alexlarsson merged 3 commits into
mainfrom
commit
Oct 27, 2026
Merged

alexlarsson merged 3 commits into
mainfrom
commit

Conversation

@alexlarsson

Copy link
Copy Markdown
Collaborator

No description provided.

Allow integration tests to use an existing repository through
CFSRUN_TEST_REPO so they can run with local image fixtures without a
registry pull. Keep the existing repository location as the default.

Generated-by: AI
Signed-off-by: Alexander Larsson <alexl@redhat.com>
Provide reusable image construction APIs so filesystem changes can be
stored as child OCI images without a merged overlay mount or a tar file.
Normalize the selected overlay xattr namespace against a resolved parent
tree, preserving inherited object references and hardlinks.

Serialize the canonical tar draft directly into splitstream instructions,
hash the logical tar bytes, and publish the destination ref after storing
the layer, image configuration, manifest and EROFS image. Keep this code
independent of the runner so it can move into composefs-rs later.

Add library tests to CI and the unit-test recipe.

Generated-by: AI
Signed-off-by: Alexander Larsson <alexl@redhat.com>
Allow a run to create a new image based on its pinned starting image,
using --commit REF to name the result. Run image creation from crun's
poststop hook after releasing runtime resources, recording the resolved
workload command in OCI history.

Keep the workload exit status and retain the upper directory with
diagnostics if image creation fails. Document the option and exercise
image reuse, failed commands, recovery and hook logging in integration
tests.

Generated-by: AI
Signed-off-by: Alexander Larsson <alexl@redhat.com>
@alexlarsson
alexlarsson merged commit ab51810 into main Oct 27, 2026
5 checks passed
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.

1 participant