From 6d8492ba7287f02cea37593817887d8c95f3bbda Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Sun, 2 Aug 2026 17:39:46 -0700 Subject: [PATCH] chore(FN): add changeset for settle-window sync task-move fix Fusion-Task-Id: FN-scheduler-settle-window --- .changeset/fix-settle-window-sync-task-moves.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/fix-settle-window-sync-task-moves.md diff --git a/.changeset/fix-settle-window-sync-task-moves.md b/.changeset/fix-settle-window-sync-task-moves.md new file mode 100644 index 0000000000..a19f35ca97 --- /dev/null +++ b/.changeset/fix-settle-window-sync-task-moves.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Fix a rare stall where a requeued task deleted in the same moment never re-dispatched. +category: fix +dev: Scheduler `task:moved` now updates the `recentEngineTodoRequeues` settle-window ledger and the dispatch-oscillation reset synchronously in the emitter prologue (sync `parked` lanes) instead of behind `await resolveTaskParkedColumns`. FN-8656 had moved them behind the await, racing the synchronous `task:deleted`/`task:updated` handlers so a hold requeue immediately followed by a delete could re-set the guard after the clear and strand the card. Restores the two failing `todo-inprogress-flapping.test.ts` invariants.