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
VSCode: bound the mailbox escalation-toast seen Set (dedupe by mailboxId with eviction) #1472
The VSCode mailbox escalation toast (apps/vscode/src/notifications/mailbox-escalation-toast.ts, Spec 1313 Phase 8) dedupes "already shown" escalations with a seen Set that only ever grows — entries are added on show and never evicted. Over a long-lived extension host it accumulates one entry per escalated mailbox row for the lifetime of the window.
Bound it: dedupe by mailboxId with eviction (e.g. drop an id once its row leaves the escalated set, or cap the Set with LRU eviction).
Why
It's an unbounded-growth leak. Negligible in practice today — escalations are rare and each entry is tiny — but it's real, it was flagged as a non-blocking note in the Phase 8 round-2 CMAP, and an unbounded Set over an all-day extension host is the kind of thing that should just be bounded rather than reasoned about.
Notes
Purely local to the toast module; no protocol or server change.
Natural eviction key: the mailbox row's transition out of the escalated state (the same signal that would let a re-escalation legitimately re-notify).
Activity
mohidmakhdoomi commentedon Aug 17, 2026
On it! Working on a fix now.
Fix #1472: bound the mailbox escalation-toast dedupe set
[Bugfix #1472] docs: note the other source of mailboxEscalated=false
[Bugfix #1472] docs(thread): record gate approval and parked-PR handoff
[PIR #1365] Review round 2: byte-accurate bypass count, counter evict…
Merge pull request #1484 from cluesmith/builder/bugfix-1472