Task got interrupted while webpage refresh
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 155
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Your question
When I refresh the ComfyUI webpage (like: http://localhost:8188), the running task will be canceled. I watch the network from browser and there is a '/interrupt' request and I don't know why.
### Logs
```powershell
```
### Other
_No response_
Contributor guide
Research direction
Reproduce the issue in the ComfyUI webpage at http://localhost:8188 while a task runs, then inspect the /interrupt request triggered by a refresh. Trace that request through the relevant frontend and API entry points; done means refreshing the page no longer cancels the running task, with a regression test if an applicable test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100