Skip to content

NO-ISSUE: Update verbiage#3159

Open
pawanpinjarkar wants to merge 1 commit intoopenshift-assisted:masterfrom
pawanpinjarkar:patch-1
Open

NO-ISSUE: Update verbiage#3159
pawanpinjarkar wants to merge 1 commit intoopenshift-assisted:masterfrom
pawanpinjarkar:patch-1

Conversation

@pawanpinjarkar
Copy link
Contributor

@pawanpinjarkar pawanpinjarkar commented Sep 5, 2025

With OCP 4.19.9, the OVE ISO size is approximately 40GB.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected ISO size estimate in the review step UI from “approx. 35GB” to “approx. 40GB” to reflect current requirements.

With OCP 4.19.9, the OVE ISO size is approximately 40GB.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 5, 2025
@openshift-ci-robot
Copy link

@pawanpinjarkar: This pull request explicitly references no jira issue.

Details

In response to this:

With OCP 4.19.9, the OVE ISO size is approximately 40GB.

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.

@openshift-ci
Copy link

openshift-ci bot commented Sep 5, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pawanpinjarkar
Once this PR has been reviewed and has the lgtm label, please assign rawagner for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link

coderabbitai bot commented Sep 5, 2025

Walkthrough

Updated static UI copy in the disconnected cluster wizard review step to change the ISO size text from “approx. 35GB” to “approx. 40GB”. No functional or API changes.

Changes

Cohort / File(s) Summary of Changes
UI copy update
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx
Adjusted displayed ISO size text from “approx. 35GB” to “approx. 40GB”.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

I nudge the words, a gentle hop,
From thirty-five to forty—pop!
No wires crossed, no logic maze,
Just fresher text for user gaze.
A tiny chew, a tidy fix—
Carrot-approved UI tweaks. 🍀🐇

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@pawanpinjarkar
Copy link
Contributor Author

/cc @rawagner

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 5, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 5, 2025

Hi @pawanpinjarkar. Thanks for your PR.

I'm waiting for a openshift-assisted member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@openshift-ci openshift-ci bot requested a review from rawagner September 5, 2025 13:44
@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 5, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)

113-113: Minor copy/style nit: unit spacing.

Prefer “40 GB” (with a space) for readability and consistency with common style guides.

Apply:

-<DescriptionListDescription>approx. 40GB</DescriptionListDescription>
+<DescriptionListDescription>approx. 40 GB</DescriptionListDescription>
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 8ea9486 and fc22848.

📒 Files selected for processing (1)
  • libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1 hunks)
🔇 Additional comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)

113-113: LGTM: Copy update matches the PR intent.

The change to “approx. 40GB” aligns with the PR description. No functional impact.

<DescriptionListGroup>
<DescriptionListTerm>ISO size</DescriptionListTerm>
<DescriptionListDescription>approx. 35GB</DescriptionListDescription>
<DescriptionListDescription>approx. 40GB</DescriptionListDescription>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Avoid hardcoding a size that can drift with “latest”.

Since the URL points to “latest”, the ISO size can change by release. Consider adding “(varies by release)” or sourcing the size from a config/build-time constant to reduce future edits.

You can quickly verify the current size:


🏁 Script executed:

#!/bin/bash
URL='https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-ove.x86_64.iso'
bytes=$(curl -fsI "$URL" | tr -d '\r' | awk 'tolower($1)=="content-length:"{print $2}')
python - <<PY
b = int("$bytes") if "$bytes" else 0
print(f"Content-Length: {b} bytes  (~{b/1024/1024/1024:.2f} GiB)")
PY

Length of output: 334


🏁 Script executed:

#!/bin/bash
rg -n "mirror.openshift.com/pub/cgw" .

Length of output: 218


🏁 Script executed:

#!/bin/bash
URL='https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-ove.x86_64.iso'
# Follow redirects and extract the final Content-Length header
bytes=$(curl -fsIL "$URL" | tr -d '\r' | awk 'tolower($1)=="content-length:"{print $2}' | tail -n1)
python - <<PY
b = int("$bytes") if "$bytes" else 0
print(f"Content-Length: {b} bytes  (~{b/1024/1024/1024:.2f} GiB)")
PY

Length of output: 353


Fix the ISO URL and avoid hardcoding approximate size

  • In libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx:36 the URL is missing “operator” (“agent-ove…”), causing a 404 and incorrect size. Update to:
    - 'https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-ove.x86_64.iso';
    + 'https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-operator.x86_64.iso';
  • Once the URL is correct, either pull its size from a build-time constant or append “(varies by release)” instead of hardcoding “approx. 40 GB.”
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<DescriptionListDescription>approx. 40GB</DescriptionListDescription>
// libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx
// Around line 36, update the disconnected ISO URL:
- const disconnectedIsoURL =
const disconnectedIsoURL =
'https://mirror.openshift.com/pub/cgw/assisted-installer-disconnected/latest/agent-operator.x86_64.iso';

@openshift-ci
Copy link

openshift-ci bot commented Dec 18, 2025

@pawanpinjarkar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-images fc22848 link true /test okd-scos-images

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-robot
Copy link

PR needs rebase.

Details

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.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments