Snider
|
50f6839c51
|
test: increase coverage across packages
- pkg/container: 65.6% → 85.7% (hypervisor, linuxkit, templates tests)
- pkg/release/publishers: 13.3% → 41.7% (homebrew, aur, npm, scoop, chocolatey tests)
- Fix flaky test cleanup in TestLinuxKitManager_Stop_Good_ContextCancelled
Overall coverage: 29.2% → 40.6%
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-29 13:19:08 +00:00 |
|
Snider
|
3bd9f9bc3d
|
feat(container): implement LinuxKit container runtime
Add pkg/container for running LinuxKit VMs:
- Manager interface with Run, Stop, List, Logs, Exec
- Hypervisor abstraction (QEMU, Hyperkit)
- Auto-detect available hypervisor and image format
- State persistence in ~/.core/containers.json
- Log management in ~/.core/logs/
CLI commands:
- core run <image> - run LinuxKit image (-d for detach)
- core ps - list containers (-a for all)
- core stop <id> - stop container
- core logs <id> - view logs (-f to follow)
- core exec <id> <cmd> - execute via SSH
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-28 18:50:32 +00:00 |
|