When looking at the details of a failed workflow, either in the workflow list page or in the workflow details page, the workflow duration keeps updating as time goes by.
For example, in a workflow like this:
After refreshing the page (either manually or automatically by the REANA UI), the new duration will be different, e.g. failed after 6h 12m 59s. This should not happen, as that value indicates the duration of the workflow, and that's not supposed to change after the workflow terminates its execution (regardless of the status).
The issue seems to present itself only with failed workflows.
When looking at the details of a failed workflow, either in the workflow list page or in the workflow details page, the workflow duration keeps updating as time goes by.
For example, in a workflow like this:![image](https://github.com/reanahub/reana-ui/assets/34663336/3f6efde6-0f04-4547-aed0-1311cf3f83fc)
After refreshing the page (either manually or automatically by the REANA UI), the new duration will be different, e.g.
failed after 6h 12m 59s
. This should not happen, as that value indicates the duration of the workflow, and that's not supposed to change after the workflow terminates its execution (regardless of the status).The issue seems to present itself only with failed workflows.