-
Notifications
You must be signed in to change notification settings - Fork 57
CNV-77551: Fix 'Start this VirtualMachine after creation' runStrategy behavior #3430
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
base: main
Are you sure you want to change the base?
Conversation
|
@pcbailey: This pull request references CNV-77551 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
📝 WalkthroughWalkthroughThe pull request updates the VM draft run strategy assignment logic in the drawer context hook. When a VM is not running and its current run strategy is HALTED or MANUAL, the default strategy is now set to RUNSTRATEGY_ALWAYS instead of RUNSTRATEGY_RERUNONFAILURE, changing the behavioral control flow. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@pcbailey: This pull request references CNV-77551 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pcbailey, upalatucci The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
|
Waiting for a response from Yifat and Ronen as there are larger discussions about runStrategy happening right now. |
📝 Description
This PR fixes the behavior of the "Start VirtualMachine after creation" to have the runStrategy be 'Always' if the checkbox is checked and 'Halted' if unchecked.
Jira: https://issues.redhat.com/browse/CNV-77551
🎥 Demo
Before
start-after-creation-checkbox--BEFORE--2026-02-03--07-42.mp4
After
start-after-creation-checkbox--AFTER--2026-02-03--07-31.mp4
Summary by CodeRabbit