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 }}
Slack: user_cache grows unbounded in large workspaces #384
SlackAdapter::user_cache is a HashMap<String, (String, Instant)> with a 5-minute TTL per entry, but no max size. In a busy Slack workspace with many unique users, the cache grows indefinitely since expired entries are only evicted on cache hit (lazy eviction).
Suggested fix
Add a max entries cap (e.g. 1000). On insert, if over cap, evict the oldest entry. Alternatively, use an LRU cache crate.
Severity: low — only affects large workspaces with 1000+ unique users interacting with the bot.
Thanks for the report! It looks like this issue was created without a template and is missing some required fields. Please add one of the following labels: bug, feature, documentation, or guidance, then edit this issue to include the matching template fields — the incomplete label will be removed automatically.
Activity
github-actions commentedon Apr 16, 2026
Thanks for the report! It looks like this issue was created without a template and is missing some required fields. Please add one of the following labels:
bug,feature,documentation, orguidance, then edit this issue to include the matching template fields — theincompletelabel will be removed automatically.thepagent commentedon Apr 16, 2026
Closing — low-severity Slack nit, not blocking 0.7.7 GA.