Feat: Adds interactive session status command#301
Merged
l-mansouri merged 45 commits intomainfrom Mar 24, 2026
Merged
Conversation
danielboloc
reviewed
Mar 23, 2026
Collaborator
danielboloc
left a comment
There was a problem hiding this comment.
@l-mansouri I tried to tested in my local setup, and I can run list but not status:
I cannot check the status of my interactive session, I can see the ID in the list, but the status I get error:
I cannot test the other scenarios, do you know what could be happening?
danielboloc
reviewed
Mar 23, 2026
Collaborator
danielboloc
left a comment
There was a problem hiding this comment.
@l-mansouri some comments:
- is the link correct? it points me to a general page, not a specific IA session
- Could we change
--formatto be consistent with the other options like--output-format?
Collaborator
Author
|
Thanks for spotting all these @danielboloc! Updated. |
danielboloc
approved these changes
Mar 24, 2026
Collaborator
danielboloc
left a comment
There was a problem hiding this comment.
I have tested again all the scenarios 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 command to check the status of the interactive session .
JIRA
LP-105732
Changes
Acceptance Criteria
Scenario 1: Check the status of a running IA session
cloudos interactive-session status --session-id <ID>Scenario 2: Check the status of a paused IA session
cloudos interactive-session status --session-id <ID>Scenario 3: Check status with an invalid or non-existent session ID
cloudos interactive-session status --session-id 123456789009876543211234Scenario 4: Watch mode for pre-running session tracks status changes
cloudos interactive-session status --session-id <ID> --watchScenario 5: Watch mode shows warning for already running or stopped session
cloudos interactive-session status --session-id <ID> --watchScenario 6: Save session status to JSON file
cloudos interactive-session status --session-id <ID> --format jsonScenario 7: Save session status to CSV file with custom base name
cloudos interactive-session status --session-id <ID> --format csvCI for interactive session status in PROD will fail as the endpoint is currently only open in DEV