Steps start time and end time #4115
Unanswered
pritidesai
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I agree with you. But then we should also have a more explicit reason for those unexecuted steps. Something like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A
taskRun
is declared failure when a step exits with non zero exit code. ThetaskRun
status contains the list of the steps of that task withreason
set toError
for the failed step and all the subsequent steps. Setting the reason toerror
is meaningful and helpful in communicating the status of the step:kubectl get tr test-taskrun-tl894 -o json | jq .status.steps
But notice the
startedAt
andfinishedAt
for the steps 1 and 2 are set to the same time. This is misleading as those steps were never executed. I think we could avoid setting the start and finish time for the steps which were not executed. What do other folks think?Beta Was this translation helpful? Give feedback.
All reactions