From 6a866c59bf8a54d9db775c90466dc224cb2f59f2 Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Wed, 8 Jan 2025 10:23:09 -0500 Subject: [PATCH] DEVPROD-2731 Update task.status field to reflect a tasks original status (#8585) --- gqlgen.yml | 2 - graphql/generated.go | 49 ++--------- graphql/schema/types/task.graphql | 11 ++- graphql/task_resolver.go | 5 -- .../queries/no_permissions.graphql | 2 +- .../override_task_dependencies.graphql | 2 +- .../overrideTaskDependencies/results.json | 7 +- .../queries/error_invalid_task_id.graphql | 2 +- .../queries/no_permissions.graphql | 2 +- .../restartTask/queries/success.graphql | 2 +- .../queries/success_failed_only.graphql | 4 +- .../tests/mutation/restartTask/results.json | 27 ++++-- .../queries/generated_tasks.graphql | 2 +- .../queries/no_permissions.graphql | 2 +- .../queries/successful_restart.graphql | 2 +- .../results.json | 6 +- .../annotation/queries/annotation.graphql | 2 +- graphql/tests/task/annotation/results.json | 2 +- graphql/tests/task/displayStatus/results.json | 2 +- .../version/tasks/queries/all_params.graphql | 2 +- .../tasks/queries/execution_tasks.graphql | 2 +- .../queries/filter_by_base_status.graphql | 2 +- .../tasks/queries/filter_by_status.graphql | 2 +- .../queries/filter_by_status_multiple.graphql | 2 +- .../version/tasks/queries/no_params.graphql | 2 +- .../tasks/queries/sort_by_status.graphql | 2 +- .../queries/sort_descending_status.graphql | 2 +- .../tasks/queries/sort_multiple.graphql | 4 +- graphql/tests/version/tasks/results.json | 86 +++++++++---------- 29 files changed, 110 insertions(+), 129 deletions(-) diff --git a/gqlgen.yml b/gqlgen.yml index 4311d5dfdd3..2ecf7f1bb44 100644 --- a/gqlgen.yml +++ b/gqlgen.yml @@ -460,8 +460,6 @@ models: resolver: true spawnHostLink: resolver: true - status: - resolver: true isPerfPluginEnabled: resolver: true project: diff --git a/graphql/generated.go b/graphql/generated.go index bdf15c9bc3e..52cd61cfdd1 100644 --- a/graphql/generated.go +++ b/graphql/generated.go @@ -2041,8 +2041,6 @@ type TaskResolver interface { SpawnHostLink(ctx context.Context, obj *model.APITask) (*string, error) - Status(ctx context.Context, obj *model.APITask) (string, error) - TaskLogs(ctx context.Context, obj *model.APITask) (*TaskLogs, error) Tests(ctx context.Context, obj *model.APITask, opts *TestFilterOptions) (*TaskTestResult, error) @@ -58377,7 +58375,7 @@ func (ec *executionContext) _Task_status(ctx context.Context, field graphql.Coll }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.Task().Status(rctx, obj) + return obj.Status, nil }) if err != nil { ec.Error(ctx, err) @@ -58389,17 +58387,17 @@ func (ec *executionContext) _Task_status(ctx context.Context, field graphql.Coll } return graphql.Null } - res := resTmp.(string) + res := resTmp.(*string) fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) + return ec.marshalNString2áš–string(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_Task_status(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Task", Field: field, - IsMethod: true, - IsResolver: true, + IsMethod: false, + IsResolver: false, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { return nil, errors.New("field of type String does not have child fields") }, @@ -90743,41 +90741,10 @@ func (ec *executionContext) _Task(ctx context.Context, sel ast.SelectionSet, obj case "startTime": out.Values[i] = ec._Task_startTime(ctx, field, obj) case "status": - field := field - - innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._Task_status(ctx, field, obj) - if res == graphql.Null { - atomic.AddUint32(&fs.Invalids, 1) - } - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue + out.Values[i] = ec._Task_status(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) case "tags": out.Values[i] = ec._Task_tags(ctx, field, obj) if out.Values[i] == graphql.Null { diff --git a/graphql/schema/types/task.graphql b/graphql/schema/types/task.graphql index 55f81fd82e6..de96141cbfd 100644 --- a/graphql/schema/types/task.graphql +++ b/graphql/schema/types/task.graphql @@ -52,6 +52,9 @@ type Task { activatedTime: Time ami: String annotation: Annotation + """ + This is a base task's display status. + """ baseStatus: String baseTask: Task blocked: Boolean! @@ -73,6 +76,9 @@ type Task { details: TaskEndDetail dispatchTime: Time displayName: String! + """ + This is a task's display status and is what is commonly used on the UI. + """ displayStatus: String! displayOnly: Boolean displayTask: Task @@ -111,10 +117,9 @@ type Task { spawnHostLink: String startTime: Time """ - This is a task's display status and is what is commonly used on the UI. - In future releases this will be migrated to represent the original status of the task + This is a task's original status. It is the status stored in the database, and is distinct from the displayStatus. """ - status: String! @deprecated(reason: "use displayStatus instead. Status will be migrated to reflect the original status") + status: String! tags: [String!]! taskGroup: String taskGroupMaxHosts: Int diff --git a/graphql/task_resolver.go b/graphql/task_resolver.go index e519b06d2d4..f640c60cd19 100644 --- a/graphql/task_resolver.go +++ b/graphql/task_resolver.go @@ -557,11 +557,6 @@ func (r *taskResolver) SpawnHostLink(ctx context.Context, obj *restModel.APITask return nil, nil } -// Status is the resolver for the status field. -func (r *taskResolver) Status(ctx context.Context, obj *restModel.APITask) (string, error) { - return *obj.DisplayStatus, nil -} - // TaskLogs is the resolver for the taskLogs field. func (r *taskResolver) TaskLogs(ctx context.Context, obj *restModel.APITask) (*TaskLogs, error) { canView := hasLogViewPermission(ctx, obj) diff --git a/graphql/tests/mutation/overrideTaskDependencies/queries/no_permissions.graphql b/graphql/tests/mutation/overrideTaskDependencies/queries/no_permissions.graphql index 4de26723922..deba3f6e387 100644 --- a/graphql/tests/mutation/overrideTaskDependencies/queries/no_permissions.graphql +++ b/graphql/tests/mutation/overrideTaskDependencies/queries/no_permissions.graphql @@ -2,7 +2,7 @@ mutation{ overrideTaskDependencies(taskId: "no_permissions"){ id execution - status + displayStatus dependsOn { name metStatus diff --git a/graphql/tests/mutation/overrideTaskDependencies/queries/override_task_dependencies.graphql b/graphql/tests/mutation/overrideTaskDependencies/queries/override_task_dependencies.graphql index 65e54b9f970..fb803f5af86 100644 --- a/graphql/tests/mutation/overrideTaskDependencies/queries/override_task_dependencies.graphql +++ b/graphql/tests/mutation/overrideTaskDependencies/queries/override_task_dependencies.graphql @@ -2,7 +2,7 @@ mutation{ overrideTaskDependencies(taskId: "t1"){ id execution - status + displayStatus dependsOn { name metStatus diff --git a/graphql/tests/mutation/overrideTaskDependencies/results.json b/graphql/tests/mutation/overrideTaskDependencies/results.json index ea66c9dfd55..55a065ee215 100644 --- a/graphql/tests/mutation/overrideTaskDependencies/results.json +++ b/graphql/tests/mutation/overrideTaskDependencies/results.json @@ -7,7 +7,7 @@ "overrideTaskDependencies": { "id": "t1", "execution": 0, - "status": "will-run", + "displayStatus": "will-run", "dependsOn": [ { "name": "a dep", @@ -27,7 +27,10 @@ "errors": [ { "message": "user 'regular_user' does not have permission to 'edit tasks' for the project 'evergreen'", - "path": ["overrideTaskDependencies", "taskId"], + "path": [ + "overrideTaskDependencies", + "taskId" + ], "extensions": { "code": "FORBIDDEN" } diff --git a/graphql/tests/mutation/restartTask/queries/error_invalid_task_id.graphql b/graphql/tests/mutation/restartTask/queries/error_invalid_task_id.graphql index 7694dd41d6b..0dfc9898729 100644 --- a/graphql/tests/mutation/restartTask/queries/error_invalid_task_id.graphql +++ b/graphql/tests/mutation/restartTask/queries/error_invalid_task_id.graphql @@ -1,6 +1,6 @@ mutation { restartTask(taskId: "nonexistent", failedOnly: false) { - status + displayStatus id } } diff --git a/graphql/tests/mutation/restartTask/queries/no_permissions.graphql b/graphql/tests/mutation/restartTask/queries/no_permissions.graphql index 28900ae9cfe..8f5bb6e2ce2 100644 --- a/graphql/tests/mutation/restartTask/queries/no_permissions.graphql +++ b/graphql/tests/mutation/restartTask/queries/no_permissions.graphql @@ -1,6 +1,6 @@ mutation { restartTask(taskId: "no_permissions", failedOnly: false) { - status + displayStatus id } } diff --git a/graphql/tests/mutation/restartTask/queries/success.graphql b/graphql/tests/mutation/restartTask/queries/success.graphql index f2b8b4bfd27..a7b921131b7 100644 --- a/graphql/tests/mutation/restartTask/queries/success.graphql +++ b/graphql/tests/mutation/restartTask/queries/success.graphql @@ -1,6 +1,6 @@ mutation { restartTask(taskId: "task1", failedOnly: false) { - status + displayStatus id } } diff --git a/graphql/tests/mutation/restartTask/queries/success_failed_only.graphql b/graphql/tests/mutation/restartTask/queries/success_failed_only.graphql index 1635d57d5a3..315997153de 100644 --- a/graphql/tests/mutation/restartTask/queries/success_failed_only.graphql +++ b/graphql/tests/mutation/restartTask/queries/success_failed_only.graphql @@ -1,10 +1,10 @@ mutation { restartTask(taskId: "task3", failedOnly: true) { id - status + displayStatus executionTasksFull { id - status + displayStatus } } } diff --git a/graphql/tests/mutation/restartTask/results.json b/graphql/tests/mutation/restartTask/results.json index e94150d92e0..874c18ee5ce 100644 --- a/graphql/tests/mutation/restartTask/results.json +++ b/graphql/tests/mutation/restartTask/results.json @@ -3,7 +3,12 @@ { "query_file": "success.graphql", "result": { - "data": { "restartTask": { "status": "will-run", "id": "task1" } } + "data": { + "restartTask": { + "displayStatus": "will-run", + "id": "task1" + } + } } }, { @@ -12,8 +17,13 @@ "errors": [ { "message": "finding project for task 'nonexistent': task not found", - "path": ["restartTask", "taskId"], - "extensions": { "code": "RESOURCE_NOT_FOUND" } + "path": [ + "restartTask", + "taskId" + ], + "extensions": { + "code": "RESOURCE_NOT_FOUND" + } } ], "data": null @@ -25,15 +35,15 @@ "data": { "restartTask": { "id": "task3", - "status": "will-run", + "displayStatus": "will-run", "executionTasksFull": [ { "id": "execution_task_1", - "status": "will-run" + "displayStatus": "will-run" }, { "id": "execution_task_2", - "status": "success" + "displayStatus": "success" } ] } @@ -48,7 +58,10 @@ "errors": [ { "message": "user 'regular_user' does not have permission to 'edit tasks' for the project 'evergreen'", - "path": ["restartTask", "taskId"], + "path": [ + "restartTask", + "taskId" + ], "extensions": { "code": "FORBIDDEN" } diff --git a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/generated_tasks.graphql b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/generated_tasks.graphql index 5cd43d90745..535f2404715 100644 --- a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/generated_tasks.graphql +++ b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/generated_tasks.graphql @@ -2,6 +2,6 @@ mutation { scheduleUndispatchedBaseTasks(versionId: "5e4ff3abe3c3317e352062e5") { id execution - status + displayStatus } } diff --git a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/no_permissions.graphql b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/no_permissions.graphql index b62ccf82b8b..57834c5b82a 100644 --- a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/no_permissions.graphql +++ b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/no_permissions.graphql @@ -2,6 +2,6 @@ mutation { scheduleUndispatchedBaseTasks(versionId: "9e4ff3abe3c3317e352062e4") { id execution - status + displayStatus } } diff --git a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/successful_restart.graphql b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/successful_restart.graphql index 5ca5ebf5819..bb09119ea62 100644 --- a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/successful_restart.graphql +++ b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/queries/successful_restart.graphql @@ -2,6 +2,6 @@ mutation { scheduleUndispatchedBaseTasks(versionId: "spruce_5e4ff3abe3c3317e352062e4") { id execution - status + displayStatus } } diff --git a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/results.json b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/results.json index 5fd2939dd1e..431e5501d2f 100644 --- a/graphql/tests/mutation/scheduleUndispatchedBaseTasks/results.json +++ b/graphql/tests/mutation/scheduleUndispatchedBaseTasks/results.json @@ -8,7 +8,7 @@ { "id": "base-task-2", "execution": 0, - "status": "will-run" + "displayStatus": "will-run" } ] } @@ -22,12 +22,12 @@ { "id": "base_generated_task", "execution": 0, - "status": "will-run" + "displayStatus": "will-run" }, { "id": "base_generator_task", "execution": 0, - "status": "will-run" + "displayStatus": "will-run" } ] } diff --git a/graphql/tests/task/annotation/queries/annotation.graphql b/graphql/tests/task/annotation/queries/annotation.graphql index 958f13bd39e..4477abfea1f 100644 --- a/graphql/tests/task/annotation/queries/annotation.graphql +++ b/graphql/tests/task/annotation/queries/annotation.graphql @@ -3,7 +3,7 @@ query { taskId: "evergreen_ubuntu1604_test_db_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48" execution: 0 ) { - status + displayStatus annotation { taskId taskExecution diff --git a/graphql/tests/task/annotation/results.json b/graphql/tests/task/annotation/results.json index 8d289075db8..8d95a0651d6 100644 --- a/graphql/tests/task/annotation/results.json +++ b/graphql/tests/task/annotation/results.json @@ -5,7 +5,7 @@ "result": { "data": { "task": { - "status": "known-issue", + "displayStatus": "known-issue", "annotation": { "taskId": "evergreen_ubuntu1604_test_db_patch_5e823e1f28baeaa22ae00823d83e03082cd148ab_5e4ff3abe3c3317e352062e4_20_02_21_15_13_48", "taskExecution": 0, diff --git a/graphql/tests/task/displayStatus/results.json b/graphql/tests/task/displayStatus/results.json index fa9ff220b05..21855dd5541 100644 --- a/graphql/tests/task/displayStatus/results.json +++ b/graphql/tests/task/displayStatus/results.json @@ -5,7 +5,7 @@ "result": { "data": { "task": { - "status": "known-issue", + "status": "failed", "displayStatus": "known-issue" } } diff --git a/graphql/tests/version/tasks/queries/all_params.graphql b/graphql/tests/version/tasks/queries/all_params.graphql index 21fe56a30e2..f92e6b93d16 100644 --- a/graphql/tests/version/tasks/queries/all_params.graphql +++ b/graphql/tests/version/tasks/queries/all_params.graphql @@ -14,7 +14,7 @@ blocked buildVariant displayName - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/execution_tasks.graphql b/graphql/tests/version/tasks/queries/execution_tasks.graphql index fd2dbe449c9..f800715ed05 100644 --- a/graphql/tests/version/tasks/queries/execution_tasks.graphql +++ b/graphql/tests/version/tasks/queries/execution_tasks.graphql @@ -5,7 +5,7 @@ id executionTasksFull { id - status + displayStatus } } } diff --git a/graphql/tests/version/tasks/queries/filter_by_base_status.graphql b/graphql/tests/version/tasks/queries/filter_by_base_status.graphql index 8d4e1d8f96e..f144144370f 100644 --- a/graphql/tests/version/tasks/queries/filter_by_base_status.graphql +++ b/graphql/tests/version/tasks/queries/filter_by_base_status.graphql @@ -6,7 +6,7 @@ baseStatus baseTask { id - status + displayStatus } displayName } diff --git a/graphql/tests/version/tasks/queries/filter_by_status.graphql b/graphql/tests/version/tasks/queries/filter_by_status.graphql index d328c6bbb13..18dfa5da745 100644 --- a/graphql/tests/version/tasks/queries/filter_by_status.graphql +++ b/graphql/tests/version/tasks/queries/filter_by_status.graphql @@ -4,7 +4,7 @@ data { id displayName - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/filter_by_status_multiple.graphql b/graphql/tests/version/tasks/queries/filter_by_status_multiple.graphql index d2f2b7875c8..dbc93146e44 100644 --- a/graphql/tests/version/tasks/queries/filter_by_status_multiple.graphql +++ b/graphql/tests/version/tasks/queries/filter_by_status_multiple.graphql @@ -3,7 +3,7 @@ tasks(options: { statuses: ["failed", "success"] }) { data { id - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/no_params.graphql b/graphql/tests/version/tasks/queries/no_params.graphql index 6f9f7078aca..d50ad49ae87 100644 --- a/graphql/tests/version/tasks/queries/no_params.graphql +++ b/graphql/tests/version/tasks/queries/no_params.graphql @@ -6,7 +6,7 @@ baseStatus buildVariant displayName - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/sort_by_status.graphql b/graphql/tests/version/tasks/queries/sort_by_status.graphql index 1595e1fac2e..61931490054 100644 --- a/graphql/tests/version/tasks/queries/sort_by_status.graphql +++ b/graphql/tests/version/tasks/queries/sort_by_status.graphql @@ -3,7 +3,7 @@ tasks(options: { sorts: [{ Key: STATUS, Direction: ASC }] }) { data { id - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/sort_descending_status.graphql b/graphql/tests/version/tasks/queries/sort_descending_status.graphql index a90e4eea8cc..accf7948d88 100644 --- a/graphql/tests/version/tasks/queries/sort_descending_status.graphql +++ b/graphql/tests/version/tasks/queries/sort_descending_status.graphql @@ -3,7 +3,7 @@ tasks(options: { sorts: [{ Key: STATUS, Direction: DESC }] }) { data { id - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/queries/sort_multiple.graphql b/graphql/tests/version/tasks/queries/sort_multiple.graphql index 45591b5af76..33fb43b112a 100644 --- a/graphql/tests/version/tasks/queries/sort_multiple.graphql +++ b/graphql/tests/version/tasks/queries/sort_multiple.graphql @@ -12,12 +12,12 @@ data { id baseTask { - status + displayStatus } blocked buildVariant displayName - status + displayStatus } count } diff --git a/graphql/tests/version/tasks/results.json b/graphql/tests/version/tasks/results.json index 73880ff6a76..5329cbc3e7e 100644 --- a/graphql/tests/version/tasks/results.json +++ b/graphql/tests/version/tasks/results.json @@ -13,7 +13,7 @@ "buildVariant": "ubuntu1604", "blocked": true, "displayName": "test-thirdparty-docker", - "status": "success" + "displayStatus": "success" } ], "count": 1 @@ -50,7 +50,7 @@ "executionTasksFull": [ { "id": "execution_task", - "status": "failed" + "displayStatus": "failed" } ] }, @@ -130,7 +130,7 @@ "baseStatus": "failed", "baseTask": { "id": "base-task-3", - "status": "failed" + "displayStatus": "failed" }, "displayName": "test-cloud" }, @@ -139,7 +139,7 @@ "baseStatus": "failed", "baseTask": { "id": "base-task-4", - "status": "failed" + "displayStatus": "failed" }, "displayName": "lint" } @@ -175,15 +175,15 @@ "data": [ { "id": "1", - "status": "success" + "displayStatus": "success" }, { "id": "3", - "status": "failed" + "displayStatus": "failed" }, { "id": "4", - "status": "success" + "displayStatus": "success" } ], "count": 3 @@ -202,7 +202,7 @@ { "id": "3", "displayName": "test-cloud", - "status": "failed" + "displayStatus": "failed" } ], "count": 1 @@ -375,49 +375,49 @@ "baseStatus": "success", "buildVariant": "ubuntu1604", "displayName": "test-thirdparty-docker", - "status": "success" + "displayStatus": "success" }, { "id": "2", "baseStatus": "success", "buildVariant": "windows", "displayName": "compile", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "3", "baseStatus": "failed", "buildVariant": "ubuntu1604", "displayName": "test-cloud", - "status": "failed" + "displayStatus": "failed" }, { "id": "4", "baseStatus": "failed", "buildVariant": "windows", "displayName": "lint", - "status": "success" + "displayStatus": "success" }, { "id": "5", "baseStatus": "success", "buildVariant": "windows", "displayName": "dist", - "status": "task-timed-out" + "displayStatus": "task-timed-out" }, { "id": "6", "baseStatus": "success", "buildVariant": "windows", "displayName": "js-test", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "7", "baseStatus": "aborted", "buildVariant": "ubuntu1604", "displayName": "test-agent", - "status": "aborted" + "displayStatus": "aborted" } ], "count": 7 @@ -561,31 +561,31 @@ "data": [ { "id": "3", - "status": "failed" + "displayStatus": "failed" }, { "id": "5", - "status": "task-timed-out" + "displayStatus": "task-timed-out" }, { "id": "2", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "6", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "7", - "status": "aborted" + "displayStatus": "aborted" }, { "id": "1", - "status": "success" + "displayStatus": "success" }, { "id": "4", - "status": "success" + "displayStatus": "success" } ], "count": 7 @@ -687,31 +687,31 @@ "data": [ { "id": "1", - "status": "success" + "displayStatus": "success" }, { "id": "4", - "status": "success" + "displayStatus": "success" }, { "id": "7", - "status": "aborted" + "displayStatus": "aborted" }, { "id": "2", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "6", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "3", - "status": "failed" + "displayStatus": "failed" }, { "id": "5", - "status": "task-timed-out" + "displayStatus": "task-timed-out" } ], "count": 7 @@ -730,72 +730,72 @@ { "id": "5", "baseTask": { - "status": "success" + "displayStatus": "success" }, "blocked": false, "buildVariant": "windows", "displayName": "dist", - "status": "task-timed-out" + "displayStatus": "task-timed-out" }, { "id": "3", "baseTask": { - "status": "failed" + "displayStatus": "failed" }, "blocked": false, "buildVariant": "ubuntu1604", "displayName": "test-cloud", - "status": "failed" + "displayStatus": "failed" }, { "id": "2", "baseTask": { - "status": "success" + "displayStatus": "success" }, "blocked": false, "buildVariant": "windows", "displayName": "compile", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "6", "baseTask": { - "status": "success" + "displayStatus": "success" }, "blocked": false, "buildVariant": "windows", "displayName": "js-test", - "status": "system-failed" + "displayStatus": "system-failed" }, { "id": "7", "baseTask": { - "status": "aborted" + "displayStatus": "aborted" }, "blocked": false, "buildVariant": "ubuntu1604", "displayName": "test-agent", - "status": "aborted" + "displayStatus": "aborted" }, { "id": "1", "baseTask": { - "status": "success" + "displayStatus": "success" }, "blocked": true, "buildVariant": "ubuntu1604", "displayName": "test-thirdparty-docker", - "status": "success" + "displayStatus": "success" }, { "id": "4", "baseTask": { - "status": "failed" + "displayStatus": "failed" }, "blocked": false, "buildVariant": "windows", "displayName": "lint", - "status": "success" + "displayStatus": "success" } ], "count": 7