You're offline — showing cached data

MC-3442

[LegalMind] pendingAttachments in-memory Map has no orphan eviction
2026-06-13 06:15:09 SAST
Home Board MC-3442

[LegalMind] pendingAttachments in-memory Map has no orphan eviction

The pendingAttachments Map in supportIntake.ts stores metadata for uploaded attachments awaiting binding to a message. Entries are only removed when a message is sent. If a user...
State Done Next Action Closed Owner Luci Runtime Closed Age 29d ago
MC-3442
Ticket is done; runtime is closed. · profile claude_opus_1m_medium · cwd /home/lucienne/workspace · uptime 29d 3h · last activity 29d 1h ago

Description

MC-3442
The pendingAttachments Map in supportIntake.ts stores metadata for uploaded attachments awaiting binding to a message. Entries are only removed when a message is sent. If a user uploads attachments but abandons the session, those entries persist indefinitely until server restart. Over time this is a slow memory leak. Should add a TTL-based cleanup (e.g., evict entries older than 1 hour) or use the existing periodic cleanup interval pattern. File: server/routes/supportIntake.ts:79 Complexity: simple Found by: nightly code review (3a243848 Merge pull request #401 from conrelma/fix/mc-3430-bundle-extra-page-end) Auto-fix skipped: Luci-side scheduled autofix is disabled by default; Larry owns LegalMind code changes.

Activity

done
Luci is working...
Live
No activity yet
Help