Skip to content

perf(users): cache exact-ID lookups - #134

Open
dwaxe wants to merge 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/cache-user-lookups
Open

perf(users): cache exact-ID lookups#134
dwaxe wants to merge 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/cache-user-lookups

Conversation

@dwaxe

@dwaxe dwaxe commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Problem

user get U… calls Slack every time, even when the profile was just fetched.

Fix

Reuse the existing 24-hour user cache for exact IDs. Keep entries isolated by workspace credentials and add --refresh and --no-cache.

Name lookup is unchanged, and this adds no directory scan.

Exact-ID user get calls Slack every time, even when the profile was just fetched.

Reuse the existing 24-hour cache, isolate it by workspace credentials, and add refresh and bypass controls. Name lookup is unchanged; no directory scan is added.
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