Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: separate download function from execute task #331

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/1520.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Profiling step `download_function`
7 changes: 7 additions & 0 deletions src/routes/tasks/TasksUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions src/types/TasksTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down
Loading