Skip to content

Commit 9a954d1

Browse files
Vikhyath MondretiVikhyath Mondreti
authored andcommitted
working impl
1 parent f16d759 commit 9a954d1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

apps/sim/stores/operation-queue/store.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -227,21 +227,6 @@ export const useOperationQueueStore = create<OperationQueueState>((set, get) =>
227227
return // No pending operations
228228
}
229229

230-
// Check workflow context
231-
if (nextOperation.workflowId !== currentWorkflowId) {
232-
logger.warn('Cancelling operation - workflow changed', {
233-
operationId: nextOperation.id,
234-
operationWorkflow: nextOperation.workflowId,
235-
currentWorkflow: currentWorkflowId,
236-
})
237-
set((state) => ({
238-
operations: state.operations.filter((op) => op.id !== nextOperation.id),
239-
}))
240-
// Try next operation
241-
get().processNextOperation()
242-
return
243-
}
244-
245230
// Mark as processing
246231
set((state) => ({
247232
operations: state.operations.map((op) =>

0 commit comments

Comments
 (0)