Files
olivv-cs-ComfyUI-FunPack/modules/sampling/tests
digital-garbageandClaude Opus 5 fae5ecf12d sampling: pin that the guard never swallows a cancel
Cancel reaches a hook as an exception like any other, and a guard that
caught it would leave someone pressing stop on a run that will not stop.

It works today only because ComfyUI made InterruptProcessingException a
BaseException rather than an Exception -- a detail this code depends on and
does not control. Widening the guard to BaseException would break Cancel
with nothing else failing, so the property is now a test rather than an
accident.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 17:19:07 +03:00
..