-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort steps by timestamps in a TaskRun
Currently, all injected steps appear before the regularly defined steps in some views. Now they are sorted by the finishedAt timestamp in each step's status, with ties broken by the startedAt timestamp. The current order is not always correct, since some injected steps actually run after regular steps. This ordering also causes some steps to be incorrectly labelled as either skipped or failed. The new order should be better, but it will still depend on the precision of the timestamps: seconds might not be sufficient in all cases. There are plans in 'pipeline' to increase the precision. Fixes #1367 Cherrypicked for #1438
- Loading branch information
Justin Kulikauskas
committed
May 26, 2020
1 parent
e175359
commit b991cfc
Showing
3 changed files
with
147 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters