OCPBUGS-70172: Assisted Installer OVE UI shows transient blank page with Technology …#3341
Conversation
…Preview spinner Signed-off-by: Elay Aharoni <elayaha@gmail.com>
|
@ElayAharoni: This pull request references Jira Issue OCPBUGS-70172, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
📝 WalkthroughWalkthroughModified error handling and cache lookup logic in InfraEnv retrieval to conditionally bypass missing-clusterId errors and immediately return the first infraEnv when single-cluster mode is enabled via the SINGLE_CLUSTER feature flag. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
libs/ui-lib/lib/ocm/hooks/useInfraEnvId.tslibs/ui-lib/lib/ocm/services/InfraEnvsService.ts
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/networkConfigurationValidation.ts:69-69
Timestamp: 2025-10-19T17:22:52.502Z
Learning: CIM UI changes in the repository openshift-assisted/assisted-installer-ui (e.g., files under libs/ui-lib/lib/cim/) are handled separately by the CIM team and should be tracked via separate issues rather than being included in PRs for other UI components.
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/hooks/useInfraEnvId.ts
🔇 Additional comments (2)
libs/ui-lib/lib/ocm/hooks/useInfraEnvId.ts (1)
58-63: LGTM! Well-coordinated changes with the service layer.The conditional error handling appropriately allows
clusterIdto be optional when the single cluster feature is enabled, and the dependency array correctly includesisSingleClusterFeatureEnabledto ensure the effect re-runs when the feature flag changes.libs/ui-lib/lib/ocm/services/InfraEnvsService.ts (1)
24-26: The code correctly returns the single infraEnv in single cluster mode without architecture filtering. This is intentional—single cluster mode creates only one infraEnv (as seen inClustersService.tsline 51), socpuArchitecturematching is not applicable.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ElayAharoni, rawagner 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 |
|
/jira refresh |
|
@rawagner: This pull request references Jira Issue OCPBUGS-70172, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (vkolodny@redhat.com), skipping review request. 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. |
|
/override ci/prow/okd-scos-images |
|
@rawagner: Overrode contexts on behalf of rawagner: ci/prow/okd-scos-images 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. |
|
/override ci/prow/okd-scos-images |
|
@rawagner: Overrode contexts on behalf of rawagner: ci/prow/okd-scos-images 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. |
d47ab5f
into
openshift-assisted:master
|
@ElayAharoni: Jira Issue OCPBUGS-70172: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-70172 has been moved to the MODIFIED state. 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. |
|
/cherry-pick release-4.21 |
|
@ElayAharoni: new pull request created: #3349 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. |
…hnology Preview spinner (openshift-assisted#3341)" This reverts commit d47ab5f.
* Revert "add new fields to above sea level ABI (#3274)" This reverts commit 41a3210. * Revert "API/Ingress IP fields lack character limit (#3342)" This reverts commit cd01017. * Revert "Assisted Installer OVE UI shows transient blank page with Technology Preview spinner (#3341)" This reverts commit d47ab5f. * remove operators and change image url Signed-off-by: Elay Aharoni <elayaha@gmail.com> --------- Signed-off-by: Elay Aharoni <elayaha@gmail.com>
…hnology Preview spinner (openshift-assisted#3341)" This reverts commit d47ab5f.
…hnology Preview spinner (openshift-assisted#3341)" This reverts commit d47ab5f.
…hnology Preview spinner (openshift-assisted#3341)" This reverts commit d47ab5f.
…hnology Preview spinner (openshift-assisted#3341)" This reverts commit d47ab5f.
* Revert "UI freezes when clicking Select button without version (#3401)" This reverts commit 52c39a9. * Revert "OCPBUGS-75072 | OVE UI: Above-the-sea UI QE test (#3383)" This reverts commit f61e1b1. * Revert "OCPBUGS-74421 | OVE UI: Fix rendezvousIP field name in error message (#3376)" This reverts commit 142fdc5. * Revert "Add additional new fields to the above the sea UI (#3337)" This reverts commit 2283bcd. * Revert "add new fields to above sea level ABI (#3274)" This reverts commit 41a3210. * Revert "Assisted Installer OVE UI shows transient blank page with Technology Preview spinner (#3341)" This reverts commit d47ab5f.
https://issues.redhat.com/browse/OCPBUGS-70172
Summary by CodeRabbit
New Features
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.