mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-05 18:05:08 +08:00
Jobs API single-job detail lookups only embedded the workflow for terminal (history) jobs; running and pending jobs went through normalize_queue_item, which never carried it even though the prompt and extra_data are already available on the queue tuple. The frontend caches job detail responses by job id and never refetches once cached, so opening a still-running or queued job as a workflow failed, and stayed broken permanently once the job finished, because the cached entry from while it was running never had a workflow to begin with. Fixes #14995