YYifan Zhaotemplate: add mutable names for boot indexes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
template: add mutable names for boot indexes Store Templates under reserved containerd image-record names so a logical name can be retargeted without changing immutable Boot Index IDs. Update the Template, Sandbox, CLI, and SDK interfaces for Name or ID selection. Keep registry pulls on containerd Client.Fetch while containing its temporary record and lease lifecycle inside the image package. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 3 天前 | |
template: add mutable names for boot indexes Store Templates under reserved containerd image-record names so a logical name can be retargeted without changing immutable Boot Index IDs. Update the Template, Sandbox, CLI, and SDK interfaces for Name or ID selection. Keep registry pulls on containerd Client.Fetch while containing its temporary record and lease lifecycle inside the image package. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 3 天前 | |
feat(cli): expose image, template, and sandbox workflows The public conch snapshot workflow exposed containerd keys, mount layouts, and lifecycle operations. Templates also persisted mutable snapshot refs and generic memory paths, coupling the product interface to host-local storage and VMM implementation details. Make image, template, and sandbox the public resource boundaries. Use an immutable OCI Boot Index digest as the Template contract, treat unpacked EROFS snapshots as rebuildable local cache, and keep capture, memory layout, and restore policies behind VMM-specific adapters. Build, validate, inspect, unpack, and distribute Boot Indexes by digest. Publish checkpoints as new indexes and atomically advance lineage. Expose explicit image kinds, retain snapshots only for debug repair, and remove legacy snapshot APIs and builders. Reorganize the CLI as: - image: pull, push, unpack, ls, and rm - template: create, pull, push, ls, inspect, and rm - sandbox: create, checkpoint, suspend, resume, and stop - debug snapshot: ls and rm | 1 个月前 | |
feat(cli): expose image, template, and sandbox workflows The public conch snapshot workflow exposed containerd keys, mount layouts, and lifecycle operations. Templates also persisted mutable snapshot refs and generic memory paths, coupling the product interface to host-local storage and VMM implementation details. Make image, template, and sandbox the public resource boundaries. Use an immutable OCI Boot Index digest as the Template contract, treat unpacked EROFS snapshots as rebuildable local cache, and keep capture, memory layout, and restore policies behind VMM-specific adapters. Build, validate, inspect, unpack, and distribute Boot Indexes by digest. Publish checkpoints as new indexes and atomically advance lineage. Expose explicit image kinds, retain snapshots only for debug repair, and remove legacy snapshot APIs and builders. Reorganize the CLI as: - image: pull, push, unpack, ls, and rm - template: create, pull, push, ls, inspect, and rm - sandbox: create, checkpoint, suspend, resume, and stop - debug snapshot: ls and rm | 1 个月前 | |
refactor(sandbox): keep CID allocation in memory CID allocation used a JSON file and cross-process locking even though sandbox runtime ownership is process-local. The file added failure modes without providing reliable recovery. Keep sandbox-to-CID assignments in memory while preserving idempotent and monotonic allocation. Add lifecycle, concurrency, exhaustion, and reset coverage for the allocator. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 26 天前 | |
refactor(sandbox): keep CID allocation in memory CID allocation used a JSON file and cross-process locking even though sandbox runtime ownership is process-local. The file added failure modes without providing reliable recovery. Keep sandbox-to-CID assignments in memory while preserving idempotent and monotonic allocation. Add lifecycle, concurrency, exhaustion, and reset coverage for the allocator. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 26 天前 | |
snapshot: refactor snapshot module and optimize concurrent VM warm startup Features Added: - Add viewManager for shared snapshot mount points, supporting multi-VM concurrent warm startup - Add containerd.Client wrapper with unified namespace session management - Add image.Resolver supporting OCI Image Index parsing - Add snapshotOps and configUpdater to separate snapshot operation logic - Add benchmark.py for performance testing Improvements: - Refactor snapshot.server to separate concerns and improve maintainability - Optimize lock mechanism by reducing lock hold time for better concurrency - Unify mount point cleanup after unmount - Remove utils package and merge functions into snapshot package - Standardize import order across all files | 5 个月前 | |
conchd: standardize API error responses | 20 天前 | |
template: add mutable names for boot indexes Store Templates under reserved containerd image-record names so a logical name can be retargeted without changing immutable Boot Index IDs. Update the Template, Sandbox, CLI, and SDK interfaces for Name or ID selection. Keep registry pulls on containerd Client.Fetch while containing its temporary record and lease lifecycle inside the image package. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: Yifan Zhao <stopire@gmail.com> | 3 天前 | |
feat(webhook): add sandbox lifecycle notifications Add in-memory Webhook management and asynchronous lifecycle delivery for sandbox creation, requested deletion, and unexpected runtime exits. Keep sandbox records as UNKNOWN after unexpected exits and publish orphaned lifecycle events. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: hu-zhangying <huzhangying@huawei.com> | 10 天前 | |
fix(vmm): broadcast process exit state Preserve the VMM exit result for all readiness, stop, and wait paths. Use a shared completion signal and guard adapter cleanup so concurrent observers cannot consume or lose the exit result. Assisted-by: Codex:GPT-5.6-sol Signed-off-by: hu-zhangying <huzhangying@huawei.com> | 8 天前 |