OCPBUGS-94165: Upgrade brace-expansion to 5.0.7#237
Conversation
|
@pcbailey: This pull request references Jira Issue OCPBUGS-94165, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pcbailey 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 |
WalkthroughThis PR pins ChangesVersion Pinning Updates
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 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 |
|
@pcbailey: This pull request references Jira Issue OCPBUGS-94165, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@start-console.sh`:
- Line 71: The console image default is out of sync between the startup script
and the documentation. Update either the CONSOLE_IMAGE default in
start-console.sh or the README’s published default so they match, and make sure
the referenced default value is consistent across the start-console.sh logic and
any user-facing docs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 46e821b0-f9b8-4f6e-9b65-9da75409a6ee
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (2)
package.jsonstart-console.sh
| done | ||
|
|
||
| CONSOLE_IMAGE=${CONSOLE_IMAGE:-"quay.io/openshift/origin-console:latest"} | ||
| CONSOLE_IMAGE=${CONSOLE_IMAGE:-"quay.io/openshift/origin-console:4.22"} |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== start-console.sh ==\n'
nl -ba start-console.sh | sed -n '60,80p'
printf '\n== README.md mentions of CONSOLE_IMAGE/origin-console ==\n'
rg -n 'CONSOLE_IMAGE|origin-console|latest|4\.22' README.mdRepository: openshift/nmstate-console-plugin
Length of output: 234
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== start-console.sh ==\n'
sed -n '60,80p' start-console.sh | awk '{printf "%6d %s\n", NR+59, $0}'
printf '\n== README.md mentions of CONSOLE_IMAGE/origin-console ==\n'
rg -n 'CONSOLE_IMAGE|origin-console|latest|4\.22' README.mdRepository: openshift/nmstate-console-plugin
Length of output: 1431
Keep the console image default in sync
start-console.sh defaults to quay.io/openshift/origin-console:4.22, but README.md still says ...:latest. Update the docs or the script so the published default matches.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@start-console.sh` at line 71, The console image default is out of sync
between the startup script and the documentation. Update either the
CONSOLE_IMAGE default in start-console.sh or the README’s published default so
they match, and make sure the referenced default value is consistent across the
start-console.sh logic and any user-facing docs.
|
@pcbailey: 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. |
Upgrade brace-expansion to 5.0.7 to address CVE-2026-13149.
jira: https://redhat.atlassian.net/browse/OCPBUGS-94165
Summary by CodeRabbit
brace-expansionversion for more consistent installs.latest, making startup behavior more predictable.