diff options
Diffstat (limited to 'Omni/Agent/Worker.hs')
| -rw-r--r-- | Omni/Agent/Worker.hs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Omni/Agent/Worker.hs b/Omni/Agent/Worker.hs index 31321f5..a3e1188 100644 --- a/Omni/Agent/Worker.hs +++ b/Omni/Agent/Worker.hs @@ -115,17 +115,6 @@ processTask worker task = do -- Submit for review AgentLog.updateActivity "Submitting for review..." - -- Switch back to worker base - let base = Core.workerName worker - Git.checkout repo base - - -- Sync again - Git.syncWithLive repo - - -- Update status to Review (for signaling) - TaskCore.updateTaskStatus tid TaskCore.Review [] - Git.commit repo ("task: review " <> tid) - AgentLog.log ("[✓] Task " <> tid <> " completed") AgentLog.update (\s -> s {AgentLog.statusTask = Nothing}) Exit.ExitFailure code -> do |
