Problem
The instance update TUI allows a user to change an instance attribute, such as its operating system, and request an immediate reboot in the same operation.
The resulting request is rejected by the API:
Error: updating instance: API error 400: Failed to validate Instance update request data
Details: {"triggerReboot":"reboot cannot be triggered if Instance attributes are being updated in the same request"}
Expected behavior
The TUI should prevent this invalid combination.
If the user changes the name, description, operating system, or SSH key groups, the TUI should apply those changes without offering reboot options and tell the user to run instance reboot afterward.
Reboot-only requests should continue to work normally.
Testing
Add coverage confirming that the TUI cannot combine attribute changes and reboot options in one request.
Problem
The
instance updateTUI allows a user to change an instance attribute, such as its operating system, and request an immediate reboot in the same operation.The resulting request is rejected by the API:
Expected behavior
The TUI should prevent this invalid combination.
If the user changes the name, description, operating system, or SSH key groups, the TUI should apply those changes without offering reboot options and tell the user to run
instance rebootafterward.Reboot-only requests should continue to work normally.
Testing
Add coverage confirming that the TUI cannot combine attribute changes and reboot options in one request.