The folder automation re-admitted a file every minute when the user had removed its jobs while a hoster was still missing, because nothing recorded the removal. Removing automatic jobs (selected, all, per hoster or through MCP) now stores the file path and identity in automation-dismissals.json. The automation skips such files until the file changes or the user adds it manually again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
13178512bf
commit
f64fe23019
8 files changed
+176
-11
No files matched your search
@@ -79,6 +79,7 @@
|
||||
const jobs = select(args);
|
||||
if (jobs.some(job => !['preview', 'done', 'error', 'skipped', 'aborted'].includes(job.status))) throw new Error('CANCEL_ACTIVE_JOBS_FIRST');
|
||||
await guard();
|
||||
await dismissRemovedAutomationJobs(jobs);
|
||||
const ids = new Set(jobs.map(job => job.id));
|
||||
jobs.forEach(job => removeJobFromIndex(job)); queueJobs = queueJobs.filter(job => !ids.has(job.id));
|
||||
redraw(); await persistQueueStateNow(); return { removed: jobs.length };
|
||||
|
||||
Reference in new issue
Block a user