Skip to content

fix(seer): Support single-run Autofix responses - #2407

Merged
NicoHinderling merged 3 commits into
mainfrom
nico/fix/seer-single-run
Nov 19, 2026
Merged

NicoHinderling merged 3 commits into
mainfrom
nico/fix/seer-single-run

Conversation

@NicoHinderling

@NicoHinderling NicoHinderling commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Single-run Autofix (rolling out as the default soon) finds the root cause and writes the fix in one run, with no separate plan step. This broke two sentry issue commands:

  • explain waited for the whole run and could hit the 6-minute timeout. It now returns as soon as the root cause is ready.
  • plan asked for a plan step, which 404s on single runs. It now waits for the run and shows the root cause, the changed files and any PR, or why Seer stopped. Failed or cancelled runs still error. The JSON keeps solution: null and adds code_changes, pull_requests and stop.

Old step-by-step runs behave the same as before.

Single-run Autofix finds the root cause, plans and fixes in one run. explain waited for the whole run, which can pass the 6-minute timeout, and plan sent a step continuation that 404s. Stop polling once a single run has its root cause, read relevant_repos from its root cause artifact, and have plan explain that there is no separate plan step.
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cli Ready Ready Preview Nov 19, 2026 1:34am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 19, 2026 1:34am UTC

Request Review

@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 36bb1ab. Configure here.

Comment thread packages/cli/src/commands/issue/plan.ts Resolved
Single runs have no separate plan step but already write the fix, so plan
now waits for the run and shows the root cause, changed files and any PR,
or why Seer stopped. Failed runs still error.
Build the single-run states from one small helper and fold the single-run plan tests into the existing post-root-cause suite, so the PR's tests cover the same behavior with far less inline fixture data.
@vercel
vercel Bot temporarily deployed to Preview – sentry-local November 19, 2026 01:34 Inactive
@NicoHinderling
NicoHinderling merged commit 0d156ba into main Nov 19, 2026
28 checks passed
@NicoHinderling
NicoHinderling deleted the nico/fix/seer-single-run branch November 19, 2026 01:57

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — 2df9f9dd Deployed Nov 19, 2026 by vercel[bot]
Preview – sentry-local — 2df9f9dd Deployed Nov 19, 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.

2 participants