OSAC-899: add --windows flag and OS column to CLI compute instances - #756
Conversation
Add Windows VM support to the CLI by introducing a `--windows` flag for compute instance creation and an OS column in table output. Users need to provision Windows VMs through the same OSAC CLI workflow used for Linux VMs, with the guest OS type visible in listings. - Add `--windows` boolean flag to the create compute-instance command - Set `IsWindows` on the compute instance spec when the flag is provided - Apply the flag in both template-based and catalog-item-based creation paths - Add an OS column to public and private compute instance table definitions, displaying "windows" or "linux" based on the `is_windows` spec field Unit tests added for the `--windows` flag: flag registration, spec building with the flag enabled and disabled, covering both template and catalog-item creation paths. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
|
@ygalblum: This pull request references OSAC-899 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 story to target the "5.0.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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (4)
WalkthroughAdds a ChangesWindows VM support via --windows flag
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 10 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
/retest |
|
💀 CI Triage: Root cause: The main branch is broken due to a database migration number collision (both PR 706 and PR 740 merged with migration number 60). Explanation: The e2e-vmaas job failed during the boot step's refresh phase because the fulfillment-console-proxy deployment timed out. The proxy depends on fulfillment-grpc-server, which was in a CrashLoopBackOff. Checking the fulfillment-grpc-server pod logs reveals it crashed at startup with 'failed to init driver with path migrations: duplicate migration file: 60_create_external_ip_tables.up.sql'. This happened because two recent PRs (PR 706 and PR 740) were both merged to main on 2026-06-23 with migration files starting with '60_'. The golang-migrate tool cannot handle duplicate migration numbers and crashes. PR 756 is a victim of this broken main branch. Evidence:
Suggestion: Rename one of the migration files on the main branch to '61_...' to resolve the collision. Retesting PR 756 will not help until main is fixed. Prow job | Build For deeper investigation, use the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhernand, ygalblum 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 |
|
/retest |
Add Windows VM support to the CLI by introducing a
--windowsflag for compute instance creation and an OS column in table output.Users need to provision Windows VMs through the same OSAC CLI workflow used for Linux VMs, with the guest OS type visible in listings.
--windowsboolean flag to the create compute-instance commandIsWindowson the compute instance spec when the flag is providedis_windowsspec fieldUnit tests added for the
--windowsflag: flag registration, spec building with the flag enabled and disabled, covering both template and catalog-item creation paths.Assisted-by: Claude Code noreply@anthropic.com
Summary by CodeRabbit
--windowsflag to create Windows-based compute instances (Linux is the default)