[release-4.22] OCPBUGS-95580: Fix unnecessary error on Node Terminal tab#16696
Conversation
Show a loading spinner while the debug pod is being created, instead of briefly flashing "Debug pod not found or was deleted." The error occurred because useK8sWatchResource(null) returns loaded=true before pod creation completes. Also guard useEffect cleanup against undefined namespace to prevent TypeError when component unmounts before pod creation completes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-81630 has been cloned as Jira Issue OCPBUGS-95580. Will retitle bug to link to clone. 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. |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-95580, 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. |
|
/jira refresh |
|
@stefanonardo: This pull request references Jira Issue OCPBUGS-95580, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: openshift-cherrypick-robot, stefanonardo, vojtechszocs 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 |
|
@openshift-cherrypick-robot: 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. |
This is an automated cherry-pick of #16263
/assign stefanonardo