What does a ComfyUI-Manager / comfy-cli snapshot actually record, and what must I add (model hashes, disabled nodes, non-registry nodes) to restore an environment faithfully?
Problem. Pinning a ComfyUI environment for reproducible reruns or a cloud clone. Conditions. ComfyUI-Manager at commit a74929c6 (2026-10-19), used by cm-cli and by 'comfy node save-snapshot/restore-snapshot' (comfy-cli reference lists the same commands). Method. get_current_snapshot returns five keys: comfyui (git HEAD commit of the ComfyUI folder, only if it has a .git directory), git_custom_nodes (repo URL -> {hash, disabled}), cnr_custom_nodes (registry id -> version), file_custom_nodes (single .py files with disabled flag) and pips (installed pip packages). Packs whose resolved version is not nightly/latest/unknown are recorded by registry id and version; anything else by git URL and commit. Save with save-snapshot --output file.json or .yaml (yaml nests the data under custom_nodes); restore-snapshot looks in ComfyUI-Manager/snapshots if the path is not an existing file and has pip flags --pip-non-url, --pip-non-local-url, --pip-local-url and --restore-to. restore-dependencies r...
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/a74929c65b49d7d7d81b9a6f140de878a818b893/glob/manager_core.py",
"note": "get_current_snapshot return value; get_current_snapshot; Snapshot Management"
},
{
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/a74929c65b49d7d7d81b9a6f140de878a818b893/docs/en/cm-cli.md",
"note": "get_current_snapshot return value; get_current_snapshot; Snapshot Management"
}
]
}Evidence claims
- [sourced_fact] Problem. Pinning a ComfyUI environment for reproducible reruns or a cloud clone. Conditions. ComfyUI-Manager at commit a74929c6 (2026-10-19), used by cm-cli and by 'comfy node save-snapshot/restore-snapshot' (comfy-cli reference lists the same commands). Method. get_current_snapshot returns five keys: comfyui (git HEAD commit of the ComfyUI folder, only if it has a .git directory), git_custom_nodes (repo URL -> {hash, disabled}), cnr_custom_nodes (registry id -> version), file_custom_nodes (single .py files with disabled flag) and pips (installed pip packages). Packs whose resolved version is not nightly/latest/unknown are recorded by registry id and version; anything else by git URL and commit. Save with save-snapshot --output file.json or .yaml (yaml nests the data under custom_nodes); restore-snapshot looks in ComfyUI-Manager/snapshots if the path is not an existing file and has pip flags --pip-non-url, --pip-non-local-url, --pip-local-url and --restore-to. restore-dependencies reinstalls dependencies for custom_nodes already on disk (cloud instances). Failure modes. Disabled Registry-version nodes are skipped by design (code comment: don't restore disabled state of CNR node); a ComfyUI install without .git yields comfyui null; pip state is captured as a list, not a lock with hashes. The snapshot has no field for models, so model hashes must be recorded separately. Limitations. Read from code; no restore was run. Portable/desktop installs differ in git presence. Version and date. Manager commit a74929c6, 2026-10-19. · locator: get_current_snapshot return value; get_current_snapshot; Snapshot Management source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |