Skip to content

Commit

Permalink
fixed duration time for aborted scattered tasks [WA-79] (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsasch authored Nov 25, 2019
1 parent fbb7af8 commit 3861930
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Job Manager Change Log

## v1.5.5 Release Notes

### Fixed a bug where aborted scattered tasks were displaying the incorrect duration in the Job Details page.

## v1.5.4 Release Notes

### Fixed a bug where workflow inputs/outputs were not always displayed correctly without browser reload.
Expand Down
4 changes: 3 additions & 1 deletion servers/cromwell/jobs/controllers/jobs_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@ def format_scattered_task(task_name, task_metadata):
if shard.get('start') and min_start > _parse_datetime(
shard.get('start')):
min_start = _parse_datetime(shard.get('start'))
if shard.get('executionStatus') not in ['Failed', 'Done']:
if shard.get('executionStatus') not in [
'Failed', 'Done', 'Aborted'
]:
max_end = None
if max_end is not None and max_end < _parse_datetime(
shard.get('end')):
Expand Down

0 comments on commit 3861930

Please sign in to comment.