Add Force clear for stuck queues including running YuE jobs.

Queue page and Music get a nuclear clear that cancels studio/live work, wipes shot batches, and force-stops Comfy so images/video/other music can run again.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-03 23:03:05 -05:00
co-authored by Cursor
parent 7da9e66f43
commit 780b407b3c
7 changed files with 105 additions and 10 deletions
+2 -2
View File
@@ -84,7 +84,7 @@
type="button"
class="block w-full rounded-xl px-3 py-2 text-left text-sm text-red-200 hover:bg-white/5 hover:text-red-100 disabled:cursor-not-allowed disabled:opacity-50"
:disabled="gpuForceResetting || gpuSleeping || gpuWaking"
title="Clear stuck jobs and kill Comfy even if a generation is wedged"
title="Clear stuck Studio/music/shot jobs and kill Comfy even if a generation is wedged"
role="menuitem"
@click="forceResetGpu"
>{{ gpuForceResetting ? 'Force resetting…' : 'Force reset' }}</button>
@@ -275,7 +275,7 @@ async function sleepGpu() {
async function forceResetGpu() {
if (gpuForceResetting.value || gpuSleeping.value || gpuWaking.value) return
const ok = window.confirm(
'Force reset clears stuck Studio/queue jobs and kills Comfy even if a generation is wedged. Continue?'
'Force reset cancels every running/waiting Studio and music job, wipes shot batches, and kills Comfy even if wedged. Continue?'
)
if (!ok) return
menuOpen.value = false