Files
ComfyUI_frontend/packages/shared-frontend-utils
Glary-Bot 14cef7126e fix: lazily migrate non-UUID workflow ids to a fresh UUID
Extend ensureWorkflowId to regenerate the top-level workflow id when it
is present but not a canonical UUID. Previously the guard only replaced
missing ids, so slug ids carried in from workflow templates (e.g.
'video-point-prompt-example' from an older SAM3 example) would survive
round-trip save/publish and later be rejected by the cloud share loader's
zod validation.

Adds an isValidUuid helper and exhaustive unit coverage for valid UUIDs
(lowercase/uppercase/mixed-case, any version/variant, fresh generateUUID
output), for rejection of slugs, numbers, malformed UUID-like strings,
and for the new createTemporary migration branch.
2026-04-25 23:38:31 +00:00
..