Skip to content

feat(investigations): Link a manual investigation to its original prompt - #131400

Open
sentry-junior[bot] wants to merge 4 commits into
jr/feat/investigation-started-activityfrom
feat/investigations-original-prompt-ui
Open

sentry-junior[bot] wants to merge 4 commits into
jr/feat/investigation-started-activityfrom
feat/investigations-original-prompt-ui

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

A manual investigation doesn't show what it was asked to do. This follows the Seer Notebook design (by @Chelseahua) for the prompt:

  • The header metadata line shows an Original prompt link instead of the plain "Manual investigation" label. It scrolls to the Activity feed.
  • The "Investigation started" row in the feed quotes the prompt under its title.
  • A manual investigation's Activity feed shows from the start. Before, the feed waited for the run to finish. Breached-metric investigations still wait.

Stacked on #131323, which adds the "Investigation started by" row that the prompt goes under. Also depends on #131397, which adds source.prompt to the notebook details response. Until that deploys, the header and the row look the same as before.

Open question: a bare /investigate uses the default prompt "Investigate what I am looking at on this page.", so the row quotes that sentence.

Changed

Location Before After
Seer › Investigations › manual investigation, run in progress Manual investigation, run in progress before Manual investigation, run in progress after
Seer › Investigations › manual investigation, run finished Manual investigation, run finished before Manual investigation, run finished after

via @Chelseahua.

--

View Session [Sentry]

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-783zj27xe.sentry.dev

@sentry-junior
sentry-junior Bot force-pushed the feat/investigations-original-prompt-ui branch from d41e109 to cd77cf4 Compare November 16, 2026 23:46
@sentry-junior
sentry-junior Bot changed the base branch from master to jr/feat/investigation-started-activity November 16, 2026 23:48
@sentry-junior
sentry-junior Bot marked this pull request as ready for review November 17, 2026 22:31
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 17, 2026 22:31
@sentry-junior
sentry-junior Bot requested a review from Chelseahua November 17, 2026 22:31

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 b9e37ec. Configure here.

sentry-junior Bot and others added 4 commits November 17, 2026 22:40
In the header of a manual investigation, replace the plain "Manual
investigation" label with an "Original prompt" link. It scrolls to
the "Investigation started" row of the Activity feed, which now
quotes the prompt. A manual investigation's feed shows from the start
instead of waiting for the run to finish.

Co-Authored-By: Chelsea Hua <48571226+Chelseahua@users.noreply.github.com>
Co-Authored-By: Chelsea Hua <48571226+Chelseahua@users.noreply.github.com>
The Original prompt link scrolls to this row, and the row shows the prompt,
so it should not wait on the comments request.

This branch was successfully deployed

1 active deployment
Preview — 59649b9a Deployed Nov 17, 2026 by vercel[bot]
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.

1 participant