Skip to content

Feat: Adds interactive analysis pause#302

Merged
l-mansouri merged 56 commits intomainfrom
ia-stop
Mar 25, 2026
Merged

Feat: Adds interactive analysis pause#302
l-mansouri merged 56 commits intomainfrom
ia-stop

Conversation

@l-mansouri
Copy link
Copy Markdown
Collaborator

Overview

This PR implements the cloudos interactive-session pause command

JIRA

https://lifebit.atlassian.net/browse/LP-105730

Changes

  • Implements the pause command
  • Refactors documentation

Acceptance Criteria

Please add here as many scenarios as in the Story

Normally this acceptance criteria is tested in ADAPT workspace in PROD

Scenario 1: Successfully pause a running IA session #### Jupyter Screenshot 2026-03-20 at 11 59 19 #### vscode Screenshot 2026-03-20 at 12 00 59

Rstudio

Screenshot 2026-03-20 at 12 00 13

spark

Screenshot 2026-03-20 at 12 02 43

check status

Screenshot 2026-03-20 at 12 08 20
Scenario 2: Attempt to pause an already paused session Screenshot 2026-03-20 at 12 20 08
Scenario 3: Force pause a session Screenshot 2026-03-20 at 12 22 10
Scenario 4: Attempt to pause a session with a non-existent session ID Screenshot 2026-03-20 at 12 20 42

@l-mansouri l-mansouri changed the title Ia stop Feat: adda insteractive-session pause Mar 20, 2026
@l-mansouri l-mansouri changed the title Feat: adda insteractive-session pause Feat: adda interactive-session pause Mar 20, 2026
@l-mansouri l-mansouri changed the title Feat: adda interactive-session pause Feat: adds interactive-session pause Mar 20, 2026
@l-mansouri l-mansouri changed the title Feat: adds interactive-session pause Feat: Adds interactive analysis pause Mar 23, 2026
Copy link
Copy Markdown
Collaborator

@danielboloc danielboloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @l-mansouri, left some comments:

  1. Could we also map here as in list the type of session instead of awsJupyterNotebook for example
  2. On the same topic, could you change the instructions in Next steps: Use 'cloudos interactive-session list' to monitor status to also include status --watch for example. You could do a mix of list and status or however you prefer, but I think status should be present (I assume this code will be available here after the previous PR merges)
  3. 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?
Image
  1. after you merge the previous PR, could you remove all the extra whitespaces from the interactive-sessions new code
Image
  1. 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/n to check and print the error message before and skip the question. Wdyt?
Image
  1. For the --force in 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 --force you do not expect any prompt. Wdyt?

  2. The same as for scenario 4. The code should exit on wrong ID, not prompt the user and then exit

@l-mansouri l-mansouri marked this pull request as draft March 24, 2026 11:04
@l-mansouri l-mansouri marked this pull request as ready for review March 24, 2026 11:04
@l-mansouri l-mansouri marked this pull request as draft March 24, 2026 11:19
@l-mansouri l-mansouri marked this pull request as ready for review March 24, 2026 11:19
@l-mansouri l-mansouri marked this pull request as draft March 24, 2026 12:08
@l-mansouri l-mansouri marked this pull request as ready for review March 24, 2026 12:09
Copy link
Copy Markdown
Collaborator

@danielboloc danielboloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @l-mansouri, re-tested and LGTM

@l-mansouri l-mansouri merged commit 141d65e into main Mar 25, 2026
201 of 217 checks passed
@l-mansouri l-mansouri deleted the ia-stop branch March 25, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants