Skip to content

feat(agent-monitoring): Add setUser step to Conversations onboarding#118441

Merged
obostjancic merged 2 commits into
masterfrom
ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring
Jun 26, 2026
Merged

feat(agent-monitoring): Add setUser step to Conversations onboarding#118441
obostjancic merged 2 commits into
masterfrom
ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring

Conversation

@obostjancic

@obostjancic obostjancic commented Jun 25, 2026

Copy link
Copy Markdown
Member

The Conversations view has a User column that shows Unknown when setUser has not been called. This PR adds the missing teaching moment in two places.

  1. Conversations onboarding: a new guided step 'Identify Users (optional)' is inserted after 'Set Conversation ID', with platform-aware JS/Python snippets calling Sentry.setUser() / sentry_sdk.set_user().

  2. LLM_ONBOARDING_COPY_MARKDOWN: the AI coding-agent prompt now also mentions setUser so automated setup paths include the call.

Companion PRs:

Refs TET-2513

Add a guided 'Identify Users (optional)' step to the Conversations onboarding
flow, parallel to the existing 'Set Conversation ID' step. This teaches users
to call Sentry.setUser() (JS) or sentry_sdk.set_user() (Python) so the User
column in the Conversations view is populated.

Also mention setUser in the LLM_ONBOARDING_COPY_MARKDOWN prompt so AI coding
agents include the call when setting up agent monitoring.

Refs TET-2513
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

TET-2513

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 25, 2026
@obostjancic obostjancic marked this pull request as ready for review June 25, 2026 12:49
@obostjancic obostjancic requested a review from a team as a code owner June 25, 2026 12:49
@obostjancic obostjancic merged commit 1b13e4b into master Jun 26, 2026
71 checks passed
@obostjancic obostjancic deleted the ognjenbostjancic/tet-2513-add-instructions-to-setuser-in-agent-monitoring branch June 26, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants