Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: duration of stopped workflows is not displayed correctly #699

Closed
giuseppe-steduto opened this issue Jan 25, 2024 · 0 comments · Fixed by #701, reanahub/reana-client-go#156 or #697
Closed

Comments

@giuseppe-steduto
Copy link
Member

Similarly to what was happening in reanahub/reana-ui#386, when running reana-client status --include-duration for a stopped workflow, the displayed duration is not the time between the moment in which the run was started and the moment in which the run was stopped, but the total time passed from the beginning of the run until the current moment.

reana-client status -w recast --include-duration --json | jq '.[0].status'
"stopped"reana-client status -w recast --include-duration --json | jq '.[0].duration'
2598
# After a few seconds...reana-client status -w recast --include-duration --json | jq '.[0].duration'
2604

This is very likely because in reana_client.utils.get_workflow_duration we only look at run_finished_at, but not at run_stopped_at.

giuseppe-steduto added a commit to giuseppe-steduto/reana-client that referenced this issue Jan 26, 2024
…#699)

After upgrading Snakemake to version 7.32.4 (reanahub/reana-commons#435)
there is no need to avoid running Snakemake tests on Python 3.11 and
3.12, as it should be supported.

Closes reanahub#655
@giuseppe-steduto giuseppe-steduto self-assigned this Jan 29, 2024
giuseppe-steduto added a commit to giuseppe-steduto/reana-client that referenced this issue Jan 29, 2024
@mdonadoni mdonadoni self-assigned this Feb 1, 2024
mdonadoni pushed a commit to giuseppe-steduto/reana-client-go that referenced this issue Mar 14, 2024
mdonadoni added a commit to giuseppe-steduto/reana-client-go that referenced this issue Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment