feat(): retry-flow (#3392)

* feat(): retry-flow

* fix: rename behavior

* feat: created a metadata props for executions

* fix(ui): translate + new metadata prop
This commit is contained in:
YannC
2024-04-03 14:33:54 +02:00
committed by YannC
parent 90f28cc8e8
commit 81f281e92b
31 changed files with 604 additions and 96 deletions

View File

@@ -232,7 +232,7 @@ public class MemoryExecutor implements ExecutorInterface {
EXECUTIONS.put(workerTaskResultDelay.getExecutionId(), executionState.from(markAsExecution));
executionQueue.emit(markAsExecution);
} else if (executionState.execution.findTaskRunByTaskRunId(workerTaskResultDelay.getTaskRunId()).getState().getCurrent().equals(State.Type.FAILED)) {
Execution newAttempt = executionService.retry(
Execution newAttempt = executionService.retryTask(
executionState.execution,
workerTaskResultDelay.getTaskRunId()
);