Skip to content

feat(autofix): Ask for context in chat before restarting a finished run - #131015

Merged
NicoHinderling merged 2 commits into
masterfrom
nico/feat/autofix-restart-asks-for-context
Nov 16, 2026
Merged

NicoHinderling merged 2 commits into
masterfrom
nico/feat/autofix-restart-asks-for-context

Conversation

@NicoHinderling

@NicoHinderling NicoHinderling commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

On a finished single run, ↻ now opens the run's Seer chat with a "Starting over" notice, and your next message starts the new run with that message as context. Failed, running and multi-step runs still restart right away. This replaces the earlier restart modal, and ↻ is disabled when Autofix credits run out.

Restart notice in the Seer chat

@NicoHinderling
NicoHinderling requested review from a team as code owners November 12, 2026 23:26
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 12, 2026
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

@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 9c757e3. Configure here.

@NicoHinderling
NicoHinderling force-pushed the nico/feat/autofix-restart-asks-for-context branch 2 times, most recently from c667f02 to ff7292d Compare November 16, 2026 19:48
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

No findings on the latest commit.

@NicoHinderling NicoHinderling changed the title feat(autofix): Ask what to change before starting a new analysis feat(autofix): Ask for context in chat before restarting a finished run Nov 16, 2026
@NicoHinderling
NicoHinderling marked this pull request as ready for review November 16, 2026 19:56
@NicoHinderling
NicoHinderling merged commit d70a532 into master Nov 16, 2026
89 checks passed
@NicoHinderling
NicoHinderling deleted the nico/feat/autofix-restart-asks-for-context branch November 16, 2026 20:11
billyvg added a commit that referenced this pull request Nov 16, 2026
#131015 gave useRerunSingleRun's rerun a userContext argument, and
#129566 passed rerun straight to the out-of-credits Re-run buttons'
onClick, so the click event went to startStep as the user context. The
two merged separately, which broke typecheck on master.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
billyvg pushed a commit that referenced this pull request Nov 16, 2026
… re-runs (#131378)

Fixes [JEST-2Z9T](https://sentry.sentry.io/issues/7851413130/), a
frontend test that has failed on master since d098593.

This is a semantic merge conflict between two PRs:

- #131015 gave `useRerunSingleRun().rerun` an optional `userContext`
argument and changed the existing Re-run buttons to `onClick={() =>
singleRunRerun.rerun()}`.
- #129566 added out-of-credits Re-run buttons that pass
`onClick={singleRunRerun.rerun}` directly. It merged after #131015.

Together, clicking one of the new buttons sends the React click event to
`startStep('root_cause', {userContext: <event>})`, so the event would
become the run's user context. This PR calls `rerun()` with no
arguments, like the other Re-run buttons, and updates the spec to expect
the call shape from #131015.

<!-- junior-request-attribution:start -->
via [automation
`evt_9a7bfc2a3d5f26294c52e258276d5ddb`](https://junior-prod.sentry.dev/automations/evt_9a7bfc2a3d5f26294c52e258276d5ddb)
· Run ID `dispatch_07630d309ee3e64fffe2b2a86ce6fe8b`.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!--
junior-conversation-id:agent-dispatch%3Adispatch_07630d309ee3e64fffe2b2a86ce6fe8b
-->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_07630d309ee3e64fffe2b2a86ce6fe8b)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_07630d309ee3e64fffe2b2a86ce6fe8b/?project=4510944073809921)

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

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
@linear-code

linear-code Bot commented Nov 19, 2026

Copy link
Copy Markdown

AIML-3821

This branch was successfully deployed

1 active deployment
Preview — 1df1efcb Deployed Nov 16, 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.

2 participants