diff --git a/changes/1520.added b/changes/1520.added new file mode 100644 index 00000000..8400732d --- /dev/null +++ b/changes/1520.added @@ -0,0 +1 @@ +Profiling step `download_function` diff --git a/src/routes/tasks/TasksUtils.tsx b/src/routes/tasks/TasksUtils.tsx index 0e39147d..3da83408 100644 --- a/src/routes/tasks/TasksUtils.tsx +++ b/src/routes/tasks/TasksUtils.tsx @@ -29,6 +29,13 @@ export const getStepInfo = (step: TaskStep): StepInfoT => { description: 'Get the assets (dataset, models) to the directory that will be shared with the task container.', }; + case TaskStep.functionDownloading: + return { + title: 'Downloading function', + color: 'primary.500', + description: + 'If the function image has been built on another organisation, the organisation executing the task has to download the image from this other organisation.', + }; case TaskStep.taskExecution: return { title: 'Task execution', diff --git a/src/types/TasksTypes.ts b/src/types/TasksTypes.ts index e5441aed..5b4e711a 100644 --- a/src/types/TasksTypes.ts +++ b/src/types/TasksTypes.ts @@ -121,6 +121,7 @@ export type TaskT = { export enum TaskStep { imageBuilding = 'build_image', inputsPreparation = 'prepare_inputs', + functionDownloading = 'download_function', taskExecution = 'task_execution', outputsSaving = 'save_outputs', }