Skip to content

feat(conversations): Continue Slack roots from the dashboard - #1384

Merged
dcramer merged 6 commits into
mainfrom
feat/dashboard-continue-slack-conversations
Aug 10, 2026
Merged

dcramer merged 6 commits into
mainfrom
feat/dashboard-continue-slack-conversations

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Next #1200 slice after private API root turns (#1371).

Verified participants can append dashboard/API messages to Slack-rooted conversations. Those turns stay on the shared mailbox + worker with publishExternally: false, so replies land only in the conversation log.

What this adds

  • POST /api/conversations/:id/messages accepts Slack destinations for participants
  • web Source may keep a Slack Destination when publish is off
  • continues inherit existing visibility and keep the original Slack session source
  • conversation origin source is set-once so continues cannot rewrite a Slack root

Still out of scope

  • dashboard composer UI
  • Open in Junior Slack link copy
  • later Slack turns announcing dashboard-only activity
  • private dashboard create UI

Refs #1200

Checks

  • pnpm --filter @sentry/junior exec tsc -p tsconfig.json --noEmit
  • vitest run tests/unit/agent-request.test.ts tests/integration/api-turn-work.test.ts (10/10)

Requested by U039RR91S.

--

View Junior Session [Sentry]

Allow verified participants to append web turns on Slack-rooted
conversations. Keep the Slack destination for location context, force
publishExternally false, and leave origin source set-once so continues
do not rewrite Slack roots.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Aug 10, 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 10, 2026 7:52pm

Request Review

@dcramer
dcramer marked this pull request as ready for review August 10, 2026 17:09
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 10, 2026
Dashboard continues already wire tools with a web Source and Slack
Destination. User-prompt plugin context had the same local-only gate,
so memory and other prompt hooks were skipped. Match the tool path and
keep the web actor.
# Conflicts:
#	packages/junior/src/api/conversations/create.ts

Co-Authored-By: David Cramer <[email protected]>

@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 50fc107. Configure here.

@dcramer
dcramer merged commit 6314393 into main Aug 10, 2026
37 checks passed
@dcramer
dcramer deleted the feat/dashboard-continue-slack-conversations branch August 10, 2026 19:58
dcramer added a commit that referenced this pull request Aug 10, 2026
Adds the next #1200 slice after #1384.

Users can start a public conversation from the dashboard or continue a
conversation they participate in. Dashboard replies stay in Junior.
Slack-rooted conversations state this before send.

The transcript labels dashboard-authored messages. Existing Slack
conversations use their conversation surface as the default, so the
runtime stores source metadata only when a dashboard turn differs from
the root.

The composer keeps one idempotency key for a failed submission and
changes it when the draft changes or the submission succeeds.

Checks:
- `pnpm --filter @sentry/junior-dashboard test` (224 passed)
- targeted dashboard browser test (1 passed)
- targeted Junior tests (24 passed)
- dashboard build
- dashboard and Junior typechecks
- dashboard lint, style, and file-length checks

Refs #1200

<!-- junior-request-attribution:start -->
Requested by **David Cramer**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0B595QDZLL%3A1786391889.918329 -->

--

[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B595QDZLL%3A1786391889.918329)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B595QDZLL%3A1786391889.918329/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: David Cramer <[email protected]>

This branch was successfully deployed

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

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant