Conversation
Port SelfSubjectRulesReview short-circuit, access-cache hardening, eventsDefinitions/CLUSTER_SCOPED_KINDS, and filter-before-inflate SSE from stolostron#6638 so restricted users no longer OOM the console backend. Signed-off-by: Enrique Mingorance Cano <emingora@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Cover access cache, SelfSubjectRulesReview short-circuit, cluster-scoped routing, and filter-before-inflate behavior. Signed-off-by: Enrique Mingorance Cano <emingora@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ginxo 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 |
|
| // If a client hasn't finished receiving a broadcast in PURGE_CLIENT_TIMEOUT | ||
| // assume the browser has been refreshed or closed | ||
| const PURGE_CLIENT_TIMEOUT = 4 * 60 * 60 * 1000 | ||
| const PURGE_CLIENT_TIMEOUT = 30 * 60 * 1000 |
There was a problem hiding this comment.
👍 this has been aligned with >2.17 versions
…s -> definitions Signed-off-by: Enrique Mingorance Cano <emingora@redhat.com>
| }> | ||
| } | ||
|
|
||
| export type KindGetAccess = |
There was a problem hiding this comment.
just formatting changes here
|
|
||
| import type { IWatchOptions } from '../resources/watch-options' | ||
|
|
||
| export const definitions: IWatchOptions[] = [ |
There was a problem hiding this comment.
definitions according to
console/backend/src/routes/events.ts
Line 244 in e6561b2
|
@Ginxo: The following test failed, say
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. |
Release-2.17 watch definitions omit clusterScoped flags, so CLUSTER_SCOPED_KINDS is empty and SSRR grants are trusted without mandatory SSAR confirmation for ManagedCluster and StorageClass. Signed-off-by: Enrique Mingorance Cano <emingora@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>



console-mce-console* pods crashing / OOMKilled [release-2.17]
https://redhat.atlassian.net/browse/ACM-44887
Summary
release-2.17(ACM-39327 / ACM-44887).eventsAccess,eventsCache, andeventsDefinitionswithCLUSTER_SCOPED_KINDS; cluster-scoped kinds match the 2.17 watch list (no ClusterExtension).Test plan
npm run test:backendnpm run check:backendMade with Cursor