Skip to content

Conversation

@katiewasnothere
Copy link
Contributor

Type of Change

  • New feature

Description

Add option to force kernel setting and tests for CLI kernel set. Related to #575.

Motivation and Context

This PR adds additional tests to ensure that we can set kernels from local files, remote tar files, and local tar files. A new option force is added to the kernel set subcommand which will overwrite an existing kernel with the same name if one exists to make testing easier. The tests ensure that a container can be started with the newly set kernel and resets to the default recommended kernel when complete.

Testing

  • Tested locally
  • Added/updated tests

Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but one comment. Will re-review after!

@katiewasnothere katiewasnothere merged commit d6b2243 into apple:main Sep 5, 2025
2 checks passed
@katiewasnothere katiewasnothere deleted the kernel_set_tests branch September 5, 2025 18:51
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.

2 participants