Skip to content

docs(autofix): clarify when Autofix runs automatically#17649

Merged
sfanahata merged 8 commits into
masterfrom
docs/clarify-autofix-automatic-triggering
May 12, 2026
Merged

docs(autofix): clarify when Autofix runs automatically#17649
sfanahata merged 8 commits into
masterfrom
docs/clarify-autofix-automatic-triggering

Conversation

@sentry-junior
Copy link
Copy Markdown
Contributor

@sentry-junior sentry-junior Bot commented May 6, 2026

DESCRIBE YOUR PR

Replaces the confusing single sentence about "highly actionable" and "high medium or above fixability score" in the Autofix docs with a structured section that clearly explains:

  • The four requirements for automatic triggering (automation enabled, 10+ events, 14-day recency, sufficient fixability score)
  • What the fixability score is and how it's generated by Seer's ML model
  • The four score tiers (Low / Medium / High / Very High) and what each one unlocks (no auto-trigger → root cause only → code changes → open PR)
  • How the user-configurable stopping point caps automation depth

Context: the previous wording was unclear about what "highly actionable" and "high medium or above fixability score" meant. This rewrite is based on reviewing the Seer source code (AutofixabilityModel, FixabilityScoreThresholds, trigger.py, issue_summary.py).

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.)
  • Other deadline
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Replace the confusing single sentence about 'highly actionable' and
'high medium or above fixability score' with a structured section that
explains:

- The four requirements for automatic triggering
- What the fixability score is and how it's computed
- The score tiers and what each one unlocks
- How the user-configurable stopping point caps automation depth
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

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

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 12, 2026 7:10pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 12, 2026 7:10pm

Request Review

Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Address review bot feedback:
- Remove "Autofix automation is enabled" bullet — already stated as a
  prerequisite in the introductory sentence.
- Change "new issues" to "issues" to align with the 14-day recency filter.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment on lines +59 to +62
- **Below 0.40 (Low)** — The issue is not considered fixable enough for automation. Autofix will not run automatically, but you can still trigger it manually.
- **0.40 – 0.66 (Medium)** — Autofix runs automatically but stops at **root cause analysis**. Sentry identifies the likely cause and presents it for your review.
- **0.66 – 0.78 (High)** — Autofix runs automatically through **code changes**. Sentry identifies the root cause and suggests a fix.
- **0.78 and above (Very High)** — Autofix runs automatically and can **open a pull request** with the suggested fix.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we will proceed up to these stopping points based on the score, but if the users preference is for less then we'll stop earlier.

Example: say the user has set "Automation Steps: Stop after Plan"

  • if the score is 0.99 then we'll do Root Cause and Planning, but not PR create because the user limits it.
  • if however the score was 0.50 then we'd do the Root Cause Step, but not go on to do a Plan, because the score is too low.

That's my understanding anyway.


Also, the labels in here don't match with the product. In product we've got:

  • Stop after Root Cause
  • Stop after Plan
  • Stop after PR Drafted

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.

I'm not sure we need to provide this level of detail unless we expose the score. @ryan953 - do we plan to share any further detail about a fixability score or the fixability confidence of an issue in the autofix UX?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think also fixability score is kind of being replaced by the night-shift thing? idk. we probably shouldn't be so specific because its outside the control of users, and will likely change.

for example, i would love for the 10 event minimum to change so i can get automatic fixes for flakey tests sooner

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cursor fixup this section based on the thread here

Copy link
Copy Markdown
Contributor

@cursor cursor Bot May 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've revised the fixability section based on the review feedback. Here's what I changed:

Removed:

  • Specific score thresholds (0.40, 0.66, 0.78) that aren't exposed to users and may change
  • Technical implementation details about the ML model's scoring system

Added:

  • Clearer explanation that user automation preferences act as a maximum cap
  • Correct product terminology: "Stop after Root Cause", "Stop after Plan", "Stop after PR Drafted"
  • Examples showing how fixability confidence and user settings interact

Key improvement:
The section now explains that even with high fixability confidence, user settings limit how far automation proceeds—and conversely, low confidence may stop automation early even if settings allow more steps.

The changes have been committed and pushed to the branch. The revised section is more general, user-focused, and won't require updates when internal scoring thresholds change.

Open in Web Open in Cursor 

Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
sfanahata and others added 2 commits May 12, 2026 11:39
Remove specific internal score thresholds and clarify the interaction
between fixability confidence and user-configured automation preferences.
Update stopping point labels to match product UI terminology.

This addresses review feedback requesting less specificity about internal
implementation details that may change, and better explanation of how
user settings cap automation depth regardless of fixability confidence.

Co-Authored-By: Claude <noreply@anthropic.com>

Co-authored-by: Ryan Albrecht <ryan@ryanalbrecht.ca>
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Co-authored-by: Shannon Anahata <shannon.anahata@gmail.com>
Comment thread docs/product/ai-in-sentry/seer/autofix/index.mdx Outdated
Copy link
Copy Markdown
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be in decent shape now.

@sfanahata
Copy link
Copy Markdown
Contributor

@ryan953 and lingering concerns or requests about what we write here?

@sfanahata sfanahata merged commit b0b5d1b into master May 12, 2026
20 checks passed
@sfanahata sfanahata deleted the docs/clarify-autofix-automatic-triggering branch May 12, 2026 21:37
sentrivana pushed a commit that referenced this pull request May 18, 2026
## DESCRIBE YOUR PR

Replaces the confusing single sentence about "highly actionable" and
"high medium or above fixability score" in the Autofix docs with a
structured section that clearly explains:

- The four requirements for automatic triggering (automation enabled,
10+ events, 14-day recency, sufficient fixability score)
- What the fixability score is and how it's generated by Seer's ML model
- The four score tiers (Low / Medium / High / Very High) and what each
one unlocks (no auto-trigger → root cause only → code changes → open PR)
- How the user-configurable stopping point caps automation depth

Context: the previous wording was unclear about what "highly actionable"
and "high medium or above fixability score" meant. This rewrite is based
on reviewing the Seer source code (`AutofixabilityModel`,
`FixabilityScoreThresholds`, `trigger.py`, `issue_summary.py`).

## IS YOUR CHANGE URGENT?

- [ ] Urgent deadline (GA date, etc.)
- [ ] Other deadline
- [x] None: Not urgent, can wait up to 1 week+

## PRE-MERGE CHECKLIST

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

---------

Co-authored-by: Junior <junior@sentry.io>
Co-authored-by: Rahul Chhabria <rahul.chhabria@sentry.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Shannon Anahata <shannon.anahata@gmail.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ryan Albrecht <ryan@ryanalbrecht.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants