klesh opened a new pull request, #3272:
URL: https://github.com/apache/incubator-devlake/pull/3272
# Summary
for the following `pipeline`, and `tasks`, we should be seeing
`finish_tasks` to be `0` or `2`, however, we got `1`, which means the
`RunPipelineInQueue` function loaded an incomplete list of tasks!
```
{
"id": 1,
"createdAt": "2022-09-29T22:36:05.997327+08:00",
"updatedAt": "2022-09-29T22:45:15.69865+08:00",
"name": "MY BLUEPRINT 1664462165990",
"blueprintId": 1,
"plan": [
[
{
"plugin": "github",
"subtasks": [
],
"options": {
}
},
{
"plugin": "gitextractor",
"subtasks": null,
"options": {
}
}
],
[
{
"plugin": "dora",
"subtasks": null,
"options": {
}
}
],
[
{
"plugin": "dora",
"subtasks": null,
"options": {
}
}
]
],
"totalTasks": 4,
"finishedTasks": 1,
"beganAt": "2022-09-29T22:36:06.108868+08:00",
"finishedAt": "2022-09-29T22:45:15.698184+08:00",
"status": "TASK_COMPLETED",
"message": "",
"spentSeconds": 549,
"stage": 1,
"ID": 1
}
{
"count": 4,
"tasks": [
{
"id": 4,
"createdAt": "2022-09-29T22:36:06.141486+08:00",
"updatedAt": "2022-09-29T22:53:33.774872+08:00",
"plugin": "dora",
"subtasks": null,
"options": {
},
"status": "TASK_FAILED",
"message": "",
"progress": 0,
"progressDetail": null,
"failedSubTask": "",
"pipelineId": 1,
"pipelineRow": 3,
"pipelineCol": 1,
"beganAt": null,
"finishedAt": null,
"spentSeconds": 0
},
{
"id": 3,
"createdAt": "2022-09-29T22:36:06.12198+08:00",
"updatedAt": "2022-09-29T22:53:33.774872+08:00",
"plugin": "dora",
"subtasks": null,
"options": {
},
"status": "TASK_FAILED",
"message": "",
"progress": 0,
"progressDetail": null,
"failedSubTask": "",
"pipelineId": 1,
"pipelineRow": 2,
"pipelineCol": 1,
"beganAt": null,
"finishedAt": null,
"spentSeconds": 0
},
{
"id": 2,
"createdAt": "2022-09-29T22:36:06.104173+08:00",
"updatedAt": "2022-09-29T22:53:33.774872+08:00",
"plugin": "gitextractor",
"subtasks": null,
"options": {
},
"status": "TASK_FAILED",
"message": "",
"progress": 0,
"progressDetail": null,
"failedSubTask": "",
"pipelineId": 1,
"pipelineRow": 1,
"pipelineCol": 2,
"beganAt": null,
"finishedAt": null,
"spentSeconds": 0
},
{
"id": 1,
"createdAt": "2022-09-29T22:36:06.067101+08:00",
"updatedAt": "2022-09-29T22:45:15.689271+08:00",
"plugin": "github",
"subtasks": [
],
"options": {
},
"status": "TASK_COMPLETED",
"message": "",
"progress": 1,
"progressDetail": null,
"failedSubTask": "",
"pipelineId": 1,
"pipelineRow": 1,
"pipelineCol": 1,
"beganAt": "2022-09-29T22:36:06.161708+08:00",
"finishedAt": "2022-09-29T22:45:15.688601+08:00",
"spentSeconds": 549
}
]
}
```
### Does this close any open issues?
Closes #3271
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]