NO-ISSUE: fix broken CI — replace removed Cores field in validation test - #896
alosadagrande wants to merge 1 commit into
Conversation
PR osac-project#866 removed cores/memory_gib from ComputeInstanceSpec in favor of instance_type. The "rejects unlisted field on ComputeInstanceSpec" test added in PR osac-project#783 referenced the now-removed Cores field, breaking CI compilation on every PR rebased on current main. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Alberto Losada Grande <alosadag@redhat.com>
|
@alosadagrande: This pull request explicitly references no jira issue. 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 (1)
WalkthroughThe unlisted-field rejection test now constructs ChangesValidation test update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ 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 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alosadagrande, mennyaboush The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
PR needs rebase. DetailsInstructions 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 kubernetes-sigs/prow repository. |
|
PR #882 fixed the issue, closing. |
Summary
cores/memory_gibfromComputeInstanceSpecin favor ofinstance_typeCoresfieldCoreswithInstanceTypein the "rejects unlisted field on ComputeInstanceSpec" testTest plan
ginkgo run --focus="rejects unlisted field on ComputeInstanceSpec" internal/serverspassesgo build ./internal/servers/compiles cleanlyAssisted-by: Claude Code noreply@anthropic.com
Summary by CodeRabbit
instance_typefields are correctly rejected for compute instance specifications.