Files
ComfyUI_frontend/src
Glary-Bot 822dc6d633 fix: prevent slug id from overwriting migrated UUID via changeTracker.reset
ChangeTracker.reset(state) clones the argument into activeState
unconditionally, so passing the raw incoming workflowData on the
same-path reuse path could overwrite a freshly-migrated UUID with the
slug id that was on disk, negating the migration on the next save.

Wrap the two reset call sites in a withMigratedId helper that preserves
a valid incoming UUID and otherwise substitutes the existing UUID (or a
fresh one) so reset can never write a non-UUID id back. Strengthen the
slug-vs-UUID reuse test to assert the reset payload, and add a both-
sides-legacy-slug test plus an explicit pass-through test for the
common matching-UUID case.
2026-04-25 23:49:14 +00:00
..
2026-04-09 18:37:40 -07:00
2026-04-18 22:45:06 -04:00
2026-04-14 14:31:31 -07:00
2026-01-27 17:59:19 -08:00