YYifan Zhaotemplate: add mutable names for boot indexes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[template] make templates the sandbox launch source Sandbox creation exposed image names and raw snapshot keys as launch inputs. Checkpointing was coupled to pause and teardown, while shared view aliases and snapshot group labels duplicated lifecycle state. That made API semantics depend on containerd storage details and made recovery and cleanup fragile. Introduce Template as the only reusable launch object. Persist its origin, component references, lineage, and lifecycle state, and derive boot mode from the available references. Resolve template IDs through a dedicated containerd plugin before preparing sandbox boot layouts. Split suspend, resume, stop, and checkpoint into independent actions. Checkpoint a running or suspended sandbox into a resume Template without consuming the runtime, and use per-sandbox views instead of shared view aliases and persisted snapshot runtime records. Migrate daemon routes, runtime types, clients, CLI groups, CRI, config, the Python SDK, setup tooling, and examples to template IDs. Remove the legacy convert, snapshot export, pause, group-label, and rehydration surfaces, and hide or clean temporary image records created during a template build. This is a breaking API change. Callers must create or select a READY Template before creating a sandbox, and checkpoints now return a Template ID instead of a raw snapshot key. | 1 个月前 | |
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> | 5 天前 | |
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> | 5 天前 | |
conchd: serve the API over the unix socket only Remove the TCP listener and the server host/port settings so unix_socket is a socket path rather than a transport switch, and drop the matching host/port and CONCHD_HOST fallbacks from the CLI client. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> | 21 天前 | |
refactor(containerd): decouple services from plugin graph Keep a single host plugin for the in-memory containerd client and move image, snapshot, sandbox, and template behavior into regular Go packages. Simplify Boot Index resolution, CLI client boundaries, and record the follow-up image/template pull contract. | 27 天前 | |
refactor(image): move boot index unpack to templates Image commands exposed archive transfer and unpacking for both OCI images and Conch Boot Indexes, although only template workflows need explicit unpacking. This blurred ownership and retained snapshot metadata and recovery behavior that the runtime no longer uses. Remove archive transfer and OCI image unpack APIs. Move explicit Boot Index unpacking to conch template unpack, resolve templates by immutable digest, and rely on containerd for component snapshot creation. Keep native manifest validation so invalid pulled templates fail before unpack reports success. Assisted-by: Codex:GPT-5.6-sol Assisted-by: Claude Code:GLM-5.2 Signed-off-by: Yifan Zhao <stopire@gmail.com> | 24 天前 | |
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> | 5 天前 | |
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> | 5 天前 | |
refactor(containerd): decouple services from plugin graph Keep a single host plugin for the in-memory containerd client and move image, snapshot, sandbox, and template behavior into regular Go packages. Simplify Boot Index resolution, CLI client boundaries, and record the follow-up image/template pull contract. | 27 天前 | |
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> | 5 天前 | |
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> | 5 天前 | |
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> | 5 天前 |