ComfyUI/comfy_execution
Deep Mehta fa24f4ee60 fix: gate provider lookups to outputs cache and fix UI coercion
- Add `enable_providers` flag to BasicCache so only the outputs cache
  triggers external provider lookups/stores. The objects cache stores
  node class instances, not CacheEntry values, so provider calls were
  wasted round-trips that always missed.
- Remove `or {}` coercion on `result.ui` — an empty dict passes the
  `is not None` gate in execution.py and causes KeyError when the
  history builder indexes `["output"]` and `["meta"]`. Preserving
  `None` correctly skips the ui_node_outputs addition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:47:40 -07:00
..
cache_provider.py Revert "Revert "feat: Add CacheProvider API for external distributed caching …" 2026-03-12 19:56:21 -07:00
caching.py fix: gate provider lookups to outputs cache and fix UI coercion 2026-03-12 20:47:40 -07:00
graph_utils.py V3 Node Schema Definition - initial (#8656) 2025-07-31 18:02:12 -04:00
graph.py Revert "Revert "feat: Add CacheProvider API for external distributed caching …" 2026-03-12 19:56:21 -07: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