Skip to content

fix(console): Messages no longer polls the full session list (v0.491.2) - #954

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/chat-fulllist
Nov 30, 2026
Merged

vikasprogrammer merged 1 commit into
mainfrom
feat/chat-fulllist

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

What

The console poll treated #/chat as a full-list route, but the Messages page never reads sessions (only the legacy #/chat/ses_… view does). Every open conversation re-downloaded the whole unarchived session list every 30 s.

On a tenant with 12,753 unarchived sessions that was 4.2 MB per fetch and 1.5–2.3 s of blocked event loop per build; five people in a room saturated the server's main thread.

Messages now polls the cheap summary like every other non-list route.

Test

Web build + test:governance (151 suites) green. Measured on the live tenant before the change via /api/metrics/requests and a CPU profile.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vikasprogrammer
vikasprogrammer merged commit cd15255 into main Nov 30, 2026
1 check passed
@vikasprogrammer
vikasprogrammer deleted the feat/chat-fulllist branch November 30, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant