Last step is misreported as failure step
Opened this issue · 2 comments
max-sixty commented
If there are multiple steps running when a failure occurs, the latest task to start is reported as the failure reason, rather than the task with status=FAILURE
In the report from cloud container builds describe
, isort
has a (very slightly!) later start time:
id: run-tests
status: FAILURE
timing:
endTime: '2018-04-22T18:51:47.129276336Z'
startTime: '2018-04-22T18:41:13.672572721Z'
[...]
id: isort
status: SUCCESS
timing:
endTime: '2018-04-22T18:41:28.186709447Z'
startTime: '2018-04-22T18:41:13.672967786Z'
stealthybox commented
Thanks for reporting this @maxim-lian 👋
I think the status field is new, so we can probably rewrite the filter to use that:
container-builder-github-ci-status/index.js
Lines 53 to 56 in 94d715b
stealthybox commented
I was able to grab a failing build that demonstrates this issue.
I've started writing the necessary patch.