cli: The TaskRun list in the pipelinerun describe has undefined order

The list of TaskRun present in the pipelinerun describe command are appearing in random order. I think they should always appear in the same order.

$ tkn pr desc cli-release-pipeline-run2gjrn
Name:              cli-release-pipeline-run2gjrn
Namespace:         default
Pipeline Ref:      cli-release-pipeline
# […]

Taskruns
NAME                                             STARTED        DURATION     STATUS
cli-release-pipeline-run2gjrn-build-n66sl        19 hours ago   50 seconds   Succeeded
cli-release-pipeline-run2gjrn-lint-twqdk         19 hours ago   22 seconds   Succeeded
cli-release-pipeline-run2gjrn-release-8z6l5      19 hours ago   3 minutes    Succeeded
cli-release-pipeline-run2gjrn-unit-tests-flcth   19 hours ago   1 minute     Succeeded
$ tkn pr desc cli-release-pipeline-run2gjrn
Name:              cli-release-pipeline-run2gjrn
Namespace:         default
Pipeline Ref:      cli-release-pipeline
# […]
Taskruns
NAME                                             STARTED        DURATION     STATUS
cli-release-pipeline-run2gjrn-lint-twqdk         19 hours ago   22 seconds   Succeeded
cli-release-pipeline-run2gjrn-release-8z6l5      19 hours ago   3 minutes    Succeeded
cli-release-pipeline-run2gjrn-unit-tests-flcth   19 hours ago   1 minute     Succeeded
cli-release-pipeline-run2gjrn-build-n66sl        19 hours ago   50 seconds   Succeeded

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 19 (17 by maintainers)

Most upvoted comments

@vdemeester wouldn’t it be better to sort TaskRuns order as per Pipeline Tasks order? so the user could relate the order as defined in pipeline.