📝 Documentation Update Needed
A pull request was recently merged that may require documentation updates.
Source PR
PR Summary
This PR optimizes the RBAC backend by replacing N+1 per-ServiceAccount role lookups with a single batch fetch of all RoleBindings and ClusterRoleBindings, reducing response time from ~44s to <1s for clusters with many ServiceAccounts. The frontend RBAC API timeout was also increased from 5s to 60s.
Changes Overview
- Backend eliminates N+1 query pattern for ServiceAccount role lookups (performance improvement from 43.8s to 0.8s)
- Frontend timeout increased from 5s to 60s in
useMCP.ts and useUsers.ts for handling larger clusters
- Namespace RBAC card now loads roles, bindings, and ServiceAccounts more efficiently
Files Changed
2 files changed (backend RBAC handler, frontend timeout configuration)
Action Required: The technical documentation writer agent will review this PR and identify specific documentation pages that need updates, then create a PR with the necessary changes.
/cc @technical-doc-writer
AI generated by scan-merged-prs
📝 Documentation Update Needed
A pull request was recently merged that may require documentation updates.
Source PR
PR Summary
This PR optimizes the RBAC backend by replacing N+1 per-ServiceAccount role lookups with a single batch fetch of all RoleBindings and ClusterRoleBindings, reducing response time from ~44s to <1s for clusters with many ServiceAccounts. The frontend RBAC API timeout was also increased from 5s to 60s.
Changes Overview
useMCP.tsanduseUsers.tsfor handling larger clustersFiles Changed
2 files changed (backend RBAC handler, frontend timeout configuration)
Action Required: The technical documentation writer agent will review this PR and identify specific documentation pages that need updates, then create a PR with the necessary changes.
/cc
@technical-doc-writer