You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACM-40502 fix(backend): use GET /api with body drain instead of GET /apis [release-2.14]
Backport of the memory leak fix to release-2.14.
isAuthenticated() was calling GET /apis on every authenticated request
and never consuming the response body on the success path. This left
sockets stuck outside the keepAlive pool, causing unbounded native
(external) memory growth in console-chart-console-v2 pods.
Fix: switch to GET /api (~200 bytes vs 35+ KB for /apis which scales
with CRDs), drain the response body via .resume() so the socket returns
to the keepAlive pool immediately, and return the numeric status so
callers no longer hold a Response reference.
Signed-off-by: Randy Bruno Piverger <21374229+Randy424@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
0 commit comments