Enqueue a new job every 20 step executions (#15068)
To avoid huge workflows to block the worker, we will enqueue a new job every 20 steps. This could be more than 20 if there are branches but I think this is fine, the goal is only to have a limit set. Also cleaning a bit the code to mark running steps as failed when workflow fails. I tested it on a huge workflow: https://github.com/user-attachments/assets/d7b8e345-d1a1-4467-96fd-92117b500120
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
export const RUN_WORKFLOW_JOB_NAME = 'RunWorkflowJob';
|
||||
Reference in New Issue
Block a user