Skip to content

Retention of frontend state upon reloading the GUI mid-generation #8136

@c0dezer019

Description

@c0dezer019

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What problem are you experiencing?

Reloading the GUI in ComfyUI_frontend during an active generation causes the user interface to lose sync with the current job and node progress. TAE (Task/Activity/Event) preview no longer updates, and the UI cannot properly restore precise ongoing task/progress state until completion or restart. Restarting a long-running job can significantly impact work, especially if waiting until job completion results in a bad outcome that could have been stopped before it finished. And due to loss of TAE preview, I'd have no way of knowing if it was going right or going wrong, making cancelling a gamble.

Context: I'm on an older computer that requires running in CPU mode, since GPU does not have support for pytorch. Therefor, gens are usually significantly longer than average, so it's not merely just a matter of going "Well, I'll just wait the 4 minutes and see what I get."

When does this problem occur?

  • This occurs whenever the web UI is refreshed while a job is actively generating.
  • The UI immediately shows active tasks in the queue but does not regain proper tracking of ongoing node execution or resume live TAE updates.
  • Impacts monitoring or debugging of long-running jobs, especially in cases of accidental page reloads, or a reload becomes necessary mid-generation.

How often do you encounter this problem?

Multiple times per day

How much does this problem affect your workflow?

Significantly slows down my work

Current workarounds

Monitor progress through the task queue, but have to wait for ongoing jobs to finish before status tracking is correct again. No way to restore live node progress/TAE preview mid-job, which may mean loss of context or missing issues.

Ideas for solutions (Optional)

Perhaps the UI could fetch the current node/task/TAE state from the backend and provide full state restoration after a reload, minimizing operational blind spots.

Additional context

  • Reproducible in multiple browsers.
  • Users relying on live feedback/progress through TAE lose visibility after reload.
  • No browser console errors are shown for this condition.
  • Example: Start a generation, reload page, progress/TAE lost until job ends.
  • May impact collaborative or batch automation workflows if UI state is lost during processing.

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uiGeneral user interface and experience improvementsarea:workflowsenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions