Skip to content

ref(conversations): introduce provider location read model - #1205

Merged
dcramer merged 10 commits into
mainfrom
codex/conversation-location
Aug 4, 2026
Merged

dcramer merged 10 commits into
mainfrom
codex/conversation-location

Conversation

@dcramer

@dcramer dcramer commented Aug 3, 2026 •

Copy link
Copy Markdown
Member

Conversation reads now expose a provider-neutral Location projected directly from the linked provider row: Junior id, provider, optional tenant id, and provider id. Conversation visibility remains a separate access property, while exact provider event attribution remains in sessionSource; Slack keeps native threadTs and messageTs fields, and source-link behavior is unchanged.

This is a compatibility-only first slice. Existing destination persistence and delivery behavior remain unchanged while new code gets one normalized provider-container read model. Review should start with chat/conversations/location.ts and the SQL projection in chat/conversations/sql/location.ts.

Refs #1200

@vercel

vercel Bot commented Aug 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 4, 2026 9:31pm

Request Review

sentry-junior Bot and others added 2 commits August 4, 2026 16:27
Scheduled dispatch keeps a local sessionSource while delivering to Slack.
Location is absent for local origins instead of treating that cutover as corrupt.
@dcramer
dcramer marked this pull request as ready for review August 4, 2026 19:15
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Aug 4, 2026
API destination decoding now rejects hyphenated fake Slack ids. Update
reporting integration fixtures to match the real destination schema.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit adf8720. Configure here.

@dcramer
dcramer merged commit 4bb3e94 into main Aug 4, 2026
31 checks passed
@dcramer
dcramer deleted the codex/conversation-location branch August 4, 2026 21:40

This branch was successfully deployed

1 active deployment
Preview – junior-docs — efced6ad Deployed Aug 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant