Feat: Adds interactive analysis pause#302
Merged
l-mansouri merged 56 commits intomainfrom Mar 25, 2026
Merged
Conversation
danielboloc
reviewed
Mar 23, 2026
Collaborator
danielboloc
left a comment
There was a problem hiding this comment.
thank you @l-mansouri, left some comments:
- Could we also map here as in
listthe type of session instead ofawsJupyterNotebookfor example - On the same topic, could you change the instructions in
Next steps: Use 'cloudos interactive-session list' to monitor statusto also includestatus --watchfor example. You could do a mix oflistandstatusor however you prefer, but I thinkstatusshould be present (I assume this code will be available here after the previous PR merges) - The link I am not sure it will point to the correct address, should it have
https://dev.sdlc.lifebit.ai/app/interactive-sessions/this type of prefix?
- after you merge the previous PR, could you remove all the extra whitespaces from the interactive-sessions new code
- Could we change the checking of pausing already paused sessions in scenario 2? It would be better than instead of asking the user to say
y/nto check and print the error message before and skip the question. Wdyt?
-
For the
--forcein scenario 3, I have the same question as number 5...could we skip in this case the confirmation? This will be better programatically too, when using--forceyou do not expect any prompt. Wdyt? -
The same as for scenario 4. The code should exit on wrong ID, not prompt the user and then exit
danielboloc
approved these changes
Mar 24, 2026
Collaborator
danielboloc
left a comment
There was a problem hiding this comment.
Thanks @l-mansouri, re-tested and LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the
cloudos interactive-session pausecommandJIRA
https://lifebit.atlassian.net/browse/LP-105730
Changes
pausecommandAcceptance Criteria
Scenario 1: Successfully pause a running IA session
#### JupyterRstudio
spark
check status
Scenario 2: Attempt to pause an already paused session
Scenario 3: Force pause a session
Scenario 4: Attempt to pause a session with a non-existent session ID