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
{{ message }}
Repository navigation
Push-feed sockets opened with a provider token and no session are never revalidated #38245
SocketAddressFilter accepts a handshake carrying an externally issued token without a session claim (validateCookielessHandshake, ADR:2026-10-26-push-feed-handshakes-always-authenticate). WebSocketManager revalidates only sockets that have a SessionId (disconnectInactiveSessions skips the rest at :273), and revocation closes sockets by session id (disconnectForSession). Under the default public client, such a socket therefore stays open after its token expires and after its user is soft-deleted (UserRepository:1820 revokes 0 sessions). With the #36608 fix, a provider switch does close it.
Proposal: record the token's exp in HandshakeIdentity and have the sweep close sockets past it; on user deletion, call disconnectAllForUser.
Related: the SSE streams streamPipelineLogs, streamPipelineProgress and streamServiceProgress (IngestionPipelineResource:1980, :2036, :2072) are authenticated only when they open.
Activity