MGMT-23920: 4.22 SNO doesn't support 4 cpu cores node#10153
Conversation
|
@shay23bra: This pull request references MGMT-23920 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 "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: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughReplaced direct parsing of the requested version with a base-version comparison when selecting min-version requirements; removed the goversion.NewVersion() guard. Added a test assertion ensuring a pre-release version ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 8 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (8 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@shay23bra: This pull request references MGMT-23920 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 "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. |
| return copyVersionedHostRequirements(&d.minVersions[i].requirements), nil | ||
| } | ||
| for i := len(d.minVersions) - 1; i >= 0; i-- { | ||
| if isGreaterOrEqual, err := common.BaseVersionGreaterOrEqual(d.minVersions[i].requirements.Version, version); err == nil && isGreaterOrEqual { |
There was a problem hiding this comment.
It used to be LessThanOrEqual and now it's BaseVersionGreaterOrEqual is it expected ?
I checked myself the answer yes
It looks crazy that BaseVersionGreaterOrEqual reverses the order of parameter compared to VersionGreaterOrEqual...
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10153 +/- ##
==========================================
+ Coverage 44.32% 44.33% +0.01%
==========================================
Files 415 415
Lines 72765 72758 -7
==========================================
+ Hits 32251 32257 +6
+ Misses 37596 37587 -9
+ Partials 2918 2914 -4
🚀 New features to boost your workflow:
|
|
/override ci/prow/edge-e2e-metal-assisted-5-0 |
|
@gamli75: Overrode contexts on behalf of gamli75: ci/prow/edge-e2e-metal-assisted-5-0 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 kubernetes-sigs/prow repository. |
|
@shay23bra: This pull request references MGMT-23920 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 either version "5.0." or "openshift-5.0.", but it targets "AI 2.52.1" instead. 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. |
|
/retest |
|
/override ci/prow/edge-e2e-metal-assisted-5-0 |
|
@gamli75: Overrode contexts on behalf of gamli75: ci/prow/edge-e2e-metal-assisted-5-0 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 kubernetes-sigs/prow repository. |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pastequo, shay23bra 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 |
|
/cherry-pick v2.52 |
|
@shay23bra: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
|
@shay23bra: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
@shay23bra: new pull request created: #10171 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 kubernetes-sigs/prow repository. |
Summary by CodeRabbit
Bug Fixes
Tests