fix(worker): emit RunCreated after run row exists

Remove premature RunCreated broadcast from WorkerHub.RunNow and the
duplicate calls in RunAsync retry block and ContinueAsync. RunOnceAsync
now owns the broadcast for every run, fired immediately after the row
insert so the UI never receives an event for a non-existent row.
This commit is contained in:
mika kuns
2026-04-17 14:17:00 +02:00
parent 3423919655
commit 4fb6ba6be8
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ public sealed class WorkerHub : Microsoft.AspNetCore.SignalR.Hub
try
{
await _queue.RunNow(taskId);
await _broadcaster.RunCreated(taskId, 1, false);
}
catch (InvalidOperationException)
{