[Low] Recorder polling spams 401s on unauthenticated tabs #55
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed — the recorder poll catches 401 /
Unauthenticatederrors silently and letsapiFetchhandle the redirect to/login.html; the interval is cleared on unmount. Combined with the newwindow.DF_LOG.warn()(#123) the console stays quiet in production. Seeservices/web-ui/public/screens-ingest.jsx:500-524.Fix Plan — #55 Recorder polling spams 401s on unauthenticated tabs
Root cause: Frontend polls
GET /api/v1/recordersevery ~10s even when tab is unauthenticated. 47 log entries of 401s observed. Wastes resources, noisy logs.Fix — stop polling on 401:
Also ensure auth guard redirect fires before poll interval starts.
Files:
screens-ingest.jsxEffort: ~30min
**Priority: P3 — log noise