Accept prompt_id in interrupt handler#9607
Merged
comfyanonymous merged 2 commits intoComfy-Org:masterfrom Sep 2, 2025
Merged
Conversation
guill
approved these changes
Aug 28, 2025
Thor-ATX
pushed a commit
to asteriafilmco/ComfyUI
that referenced
this pull request
Sep 3, 2025
…e-update * commit '4f5812b93712e0f52ae8fe80a89e8b5e7d0fa309': (77 commits) Update template to 0.1.73 (Comfy-Org#9686) ImageScaleToMaxDimension node. (Comfy-Org#9689) Accept prompt_id in interrupt handler (Comfy-Org#9607) uso -> uxo/uno as requested. (Comfy-Org#9688) USO style reference. (Comfy-Org#9677) Enable Convolution AutoTuning (Comfy-Org#9301) Implement the USO subject identity lora. (Comfy-Org#9674) Probably not necessary anymore. (Comfy-Org#9646) SEEDS: update noise decomposition and refactor (Comfy-Org#9633) convert Primitive nodes to V3 schema (Comfy-Org#9372) convert nodes_stability.py to V3 schema (Comfy-Org#9497) convert Video nodes to V3 schema (Comfy-Org#9489) convert Stable Cascade nodes to V3 schema (Comfy-Org#9373) ComfyUI version 0.3.56 Lower ram usage on windows. (Comfy-Org#9628) ComfyUI v0.3.55 Update template to 0.1.70 (Comfy-Org#9620) Trim audio to video when saving video. (Comfy-Org#9617) Support the 5B fun inpaint model. (Comfy-Org#9614) Support wan2.2 5B fun control model. (Comfy-Org#9611) ...
toxicwind
pushed a commit
to toxicwind/ComfyUI
that referenced
this pull request
Oct 12, 2025
* Accept prompt_id in interrupt handler * remove a log
adlerfaulkner
pushed a commit
to LucaLabsInc/ComfyUI
that referenced
this pull request
Oct 16, 2025
* Accept prompt_id in interrupt handler * remove a log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If "prompt_id" is provided in the interrupt call, check first if it matches the currently running prompt. Ignore the interrupt if prompt id does not match. This prevents race conditions where the prompt that was intended to be interrupted had finished already.
If no prompt_id is provided, the behavior remains same as before.
Manual tests: