ComfyUI/comfy_execution
Deep Mehta 15a23ad5f6 fix: generalize self-inequality check, fail-closed canonicalization
Address review feedback from guill:
- Rename _contains_nan to _contains_self_unequal, use not (x == x)
  instead of math.isnan to catch any self-unequal value
- Remove Unhashable and repr() fallbacks from _canonicalize; raise
  ValueError for unknown types so _serialize_cache_key returns None
  and external caching is skipped (fail-closed)
- Update tests for renamed function and new fail-closed behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 18:32:03 -08:00
..
cache_provider.py fix: generalize self-inequality check, fail-closed canonicalization 2026-03-03 18:32:03 -08:00
caching.py fix: generalize self-inequality check, fail-closed canonicalization 2026-03-03 18:32:03 -08:00
graph_utils.py V3 Node Schema Definition - initial (#8656) 2025-07-31 18:02:12 -04:00
graph.py fix: add sync get_local/set_local for graph traversal 2026-03-03 16:27:24 -08:00
jobs.py feat: add text preview support to jobs API (#12169) 2026-02-28 21:38:19 -08:00
progress.py Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -04:00
utils.py Support for async node functions (#8830) 2025-07-10 14:46:19 -04:00
validation.py V3 Improvements + DynamicCombo + Autogrow exposed in public API (#11345) 2025-12-30 23:09:55 -05:00