Repository navigation
[release-4.22] OCPBUGS-129621: Cap rendered alerts in notification drawer and dashboards - #17378
Conversation
Manually backport the alert rendering cap from openshift#17367 into release-4.22. Limit each drawer alert group and dashboard alert list to 50 entries to reduce rendering work under high alert volume, while preserving full counts and links to all alerts. Retain release-4.22's drawer structure and Immutable Redux handling. Adapt namespace and ToastProvider test imports and preserve the public~ translation key convention. Source commit: 5bfe444 Original commit: 19d0e53 Jira: https://redhat.atlassian.net/browse/OCPBUGS-129621 Assisted-by: Codex <OpenAI>
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
@fsgreco: This pull request references Jira Issue OCPBUGS-129621, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
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. |
|
/pipeline required |
|
Scheduling tests matching the |
|
/test e2e-gcp-console |
|
/verified by ci/prow/frontend |
|
@fsgreco: This PR has been marked as verified by 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. |
logonoff
left a comment
There was a problem hiding this comment.
/label backport-risk-assessed
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fsgreco, logonoff 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 |
|
Scheduling tests matching the |
|
@fsgreco: 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. |
7c491b4
into
openshift:release-4.22
|
@fsgreco: Jira Issue Verification Checks: Jira Issue OCPBUGS-129621 Jira Issue OCPBUGS-129621 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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 |
|
@fsgreco: #17378 failed to apply on top of branch "release-4.21": 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. |
|
Fix included in release 4.22.0-0.nightly-2026-10-20-070613 |
This is a manual backport of openshift/console#17367 to release-4.22.
Jira: OCPBUGS-129621
Original implementation and discussion: openshift/console#17324.
Analysis / Root cause:
The notification drawer and dashboard alert lists rendered every firing alert. Large alert volumes increase rendering work and can make the Console slow or unresponsive.
Solution description:
Render at most 50 alerts in each notification drawer group and dashboard alert list. When a list exceeds the cap, show its full alert count and a link to the complete alert list. Drawer and cluster dashboard links select all namespaces; the namespaced dashboard link preserves the selected namespace.
This backport retains release-4.22's drawer structure, Immutable Redux handling, and public~ translation syntax. The source tests use the branch's existing detect-namespace context and default ToastProvider export. No dependencies or public SDK APIs change.
Test cases:
Passed locally:
git diff --check.I (@fsgreco) manually checked the drawer/dashboard alert cap with the 60-alert fixture on a 4.22 cluster and confirmed the smoke check passed. The temporary AlertingRule was removed afterward.
Full alert-list destination navigation with the monitoring plugin, namespaced dashboard behavior, and high-volume load testing have not been checked on this backport. The browser used for the manual smoke check was not recorded. Release-5.0 testing is not included in these results.
Browser conformance:
Additional info: