From e75219fea4211dacae6c17b21ea221c0367aaf8b Mon Sep 17 00:00:00 2001 From: Faust1 Date: Tue, 2 Jan 2024 16:54:02 +0100 Subject: [PATCH 1/2] chore: added missing fields in tasks_fields.proto --- Protos/V1/tasks_fields.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Protos/V1/tasks_fields.proto b/Protos/V1/tasks_fields.proto index 328e4a858..aa74ece0f 100644 --- a/Protos/V1/tasks_fields.proto +++ b/Protos/V1/tasks_fields.proto @@ -25,6 +25,10 @@ enum TaskSummaryEnumField { TASK_SUMMARY_ENUM_FIELD_RECEIVED_AT = 14; /** When the task is received by the agent. */ TASK_SUMMARY_ENUM_FIELD_ACQUIRED_AT = 15; /** When the task is acquired by the agent. */ TASK_SUMMARY_ENUM_FIELD_ERROR = 8; /** The error message. Only set if task have failed. */ + TASK_SUMMARY_ENUM_FIELD_COUNT_PARENT_TASK_IDS = 17; /** Count the parent task IDs. A tasks can be a child of another task. */ + TASK_SUMMARY_ENUM_FIELD_COUNT_DATA_DEPENDENCIES = 18; /** Count the data dependencies. A task have data dependencies. */ + TASK_SUMMARY_ENUM_FIELD_COUNT_EXPECTED_OUTPUTS_IDS = 19; /** Count the expected output IDs. A task have expected output IDs. */ + TASK_SUMMARY_ENUM_FIELD_RETRY_OF_IDS = 20; /** Count the retry of IDs. When a task fail, retry will use these set of IDs. */ } /** From f830bbdadee6b743322e6c04e006b51d19a4f3a3 Mon Sep 17 00:00:00 2001 From: Faust1 Date: Tue, 2 Jan 2024 17:02:04 +0100 Subject: [PATCH 2/2] added missing count --- Protos/V1/tasks_fields.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Protos/V1/tasks_fields.proto b/Protos/V1/tasks_fields.proto index aa74ece0f..fffb321b5 100644 --- a/Protos/V1/tasks_fields.proto +++ b/Protos/V1/tasks_fields.proto @@ -28,7 +28,7 @@ enum TaskSummaryEnumField { TASK_SUMMARY_ENUM_FIELD_COUNT_PARENT_TASK_IDS = 17; /** Count the parent task IDs. A tasks can be a child of another task. */ TASK_SUMMARY_ENUM_FIELD_COUNT_DATA_DEPENDENCIES = 18; /** Count the data dependencies. A task have data dependencies. */ TASK_SUMMARY_ENUM_FIELD_COUNT_EXPECTED_OUTPUTS_IDS = 19; /** Count the expected output IDs. A task have expected output IDs. */ - TASK_SUMMARY_ENUM_FIELD_RETRY_OF_IDS = 20; /** Count the retry of IDs. When a task fail, retry will use these set of IDs. */ + TASK_SUMMARY_ENUM_FIELD_COUNT_RETRY_OF_IDS = 20; /** Count the retry of IDs. When a task fail, retry will use these set of IDs. */ } /**