-
Notifications
You must be signed in to change notification settings - Fork 35
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
chore!: adjust stopped status actions for the update image and others #563
chore!: adjust stopped status actions for the update image and others #563
Conversation
WalkthroughThe changes involve modifications to the state management of an instance, allowing certain methods to be executed when the instance is in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Instance
participant Build
participant Execution
participant Network
participant Resources
participant Sidecars
participant Storage
User->>Instance: Stop()
User->>Build: SetArgs()
User->>Execution: SetImage()
User->>Network: AddPortTCP()
User->>Resources: SetMemory()
User->>Sidecars: Add()
User->>Storage: AddFile()
Assessment against linked issues
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A breaking change should break tests. If not then that is a clear gap in our testing, so we should be adding a test for the new use case.
There is no dedicated E2E test for the upgrade image that's why it does not brake any. There is one use case in the app e2e test which we have to update the sequence. i.e. Stop the instance first, upgrade the image, then Start the instance again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with #565 as a follow up
Closes #561
Note: This PR removes the
UpgradeImage
functions, instead, the user has to stop their instance, configure whatever they want and start it again.Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation