-
Notifications
You must be signed in to change notification settings - Fork 665
OCPBUGS-60426: Fix edit application via Deploy image internal registry doesn't select correct image stream #15795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@vikram-raj: This pull request references Jira Issue OCPBUGS-60426, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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. |
WalkthroughAdds a new constant Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
/jira refresh |
|
@vikram-raj: This pull request references Jira Issue OCPBUGS-60426, 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: In 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. |
|
/cc @logonoff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't this mean we won't display any icons that were set prior to this bugfix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we will display the icon that were set prior to this.
56869ec to
e5adc59
Compare
logonoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logonoff, vikram-raj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified later @yapei |
|
@vikram-raj: This PR has been marked to be verified later by In 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. |
e5adc59 to
e5267aa
Compare
|
New changes are detected. LGTM label has been removed. |
|
/verified later @yapei |
|
@vikram-raj: This PR has been marked to be verified later by In 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. |
|
Resolved conflicts. |
|
/label acknowledge-critical-fixes-only |
…t correct image stream
e5267aa to
139d1df
Compare
|
/verified later @yapei |
|
@vikram-raj: This PR has been marked to be verified later by In 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
frontend/packages/dev-console/src/utils/resource-label-utils.ts (1)
32-34: Runtime icon label behavior looks correct; consider using shared constant for consistencyUsing a dedicated
app.openshift.io/runtime-iconkey here correctly separates runtime metadata from the image stream runtime label and aligns with the PR’s intent. For consistency and easier future changes, consider importing and using the sharedRUNTIME_ICON_LABELconstant fromdev-console/src/const.tsinstead of hardcoding the string.-import { ResourcesKinds, Resources } from '../components/import/import-types'; +import { ResourcesKinds, Resources } from '../components/import/import-types'; +import { RUNTIME_ICON_LABEL } from '../const'; @@ - if (runtimeIcon) { - labels['app.openshift.io/runtime-icon'] = runtimeIcon; - } + if (runtimeIcon) { + labels[RUNTIME_ICON_LABEL] = runtimeIcon; + }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting
📒 Files selected for processing (6)
frontend/packages/dev-console/src/components/edit-application/__tests__/edit-application-data.ts(1 hunks)frontend/packages/dev-console/src/components/edit-application/edit-application-utils.ts(3 hunks)frontend/packages/dev-console/src/components/import/import-submit-utils.ts(2 hunks)frontend/packages/dev-console/src/const.ts(1 hunks)frontend/packages/dev-console/src/utils/resource-label-utils.ts(1 hunks)frontend/packages/topology/src/data-transforms/transform-utils.ts(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (5)
- frontend/packages/topology/src/data-transforms/transform-utils.ts
- frontend/packages/dev-console/src/components/edit-application/tests/edit-application-data.ts
- frontend/packages/dev-console/src/const.ts
- frontend/packages/dev-console/src/components/edit-application/edit-application-utils.ts
- frontend/packages/dev-console/src/components/import/import-submit-utils.ts
🧰 Additional context used
📓 Path-based instructions (1)
**
⚙️ CodeRabbit configuration file
-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.
Files:
frontend/packages/dev-console/src/utils/resource-label-utils.ts
|
/retest |
1 similar comment
|
/retest |
|
@vikram-raj: all tests passed! Full PR test history. Your PR dashboard. 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. |
Before:
before-edit-application.mov
After:
after-edit-application.mov