reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 45 forks source link

workflow: add message about autoclosure of the interactive session. #658

Closed giuseppe-steduto closed 11 months ago

giuseppe-steduto commented 1 year ago

When opening an interactive session with the open command, the user is now notified about the maximum inactivity time before the session is automatically closed, if the autoclosure was enabled by the REANA administrators.

Closes #657

mdonadoni commented 1 year ago

Works well, good job!

PS: This PR needs to be rebased

giuseppe-steduto commented 11 months ago

We have two options:

  1. Release a new alpha version of r-commons, bump its version in the setup.py of reana-client and fix the issue assuming that "maximum_interactive_session_inactivity_period" is always there
  2. Fix the issue so that it works with both the old and the new (future) version of reana-commons

I went for option 2 since the fix was rather straightforward, as was done in #635, and added a small testcase.