fix(slack): share thread history across speakers - #820
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
01f4cde to
082d672
Compare
|
The latest updates on your projects. Learn more about Unkey Deploy
|
|
When a second person followed up in a Slack thread, the agent loaded a separate conversation history and lost the first person's exchange. Scope Slack API-key history to the integration and thread so participants share the conversation, while personal memory remains scoped to each speaker.
Tests exercise ask, trace, and stream through the shared entry points and real conversation-store logic. They verify isolation between integrations in the same organization, channels, and threads, and preserve dashboard, external MCP, and session-based behavior. Existing speaker-scoped history caches expire normally; they are not copied into the new shared cache.
Validation: 56 focused history/memory tests, 969 AI tests, 95 Slack tests, root lint, all 33 typecheck tasks, and all 29 pre-push test tasks passed. The AI suite skips 33 integration tests requiring external services. Independently reviewed.
This is an independent history-ownership slice; #818 and #821 change separate tool files. No migrations, OAuth scopes, new dependencies, or user setup. AI-assisted implementation and review.