Skip to content

feat(slack): Hide Fix with Seer on issue alerts when Seer credits run out - #130271

Open
alexsohn1126 wants to merge 2 commits into
masterfrom
alexsohn/cw-2329-slack-gate-autofix-buttons-on-seer-credits
Open

alexsohn1126 wants to merge 2 commits into
masterfrom
alexsohn/cw-2329-slack-gate-autofix-buttons-on-seer-credits

Conversation

@alexsohn1126

@alexsohn1126 alexsohn1126 commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Slack issue alerts now hide the "Fix with Seer" button when the org doesn't have enough Seer credits for a root cause step.

Replying when an org is out of credits is a follow-up.

Fixes CW-2329

@linear-code

linear-code Bot commented Nov 6, 2026

Copy link
Copy Markdown

CW-2329

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 6, 2026
organization=self.group.organization, entrypoint_key=SeerEntrypointKey.SLACK
) and SeerAutofixOperator.can_trigger_autofix(group=self.group)
self._has_autofix = (
not is_unfurl

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is to block unfurl requests (generating preview for the graph) from checking autofix quota (which can take long)

@alexsohn1126 alexsohn1126 changed the title feat(slack): Gate autofix buttons on Seer credits feat(slack): Hide autofix buttons when Seer credits are short Nov 6, 2026
@alexsohn1126
alexsohn1126 removed this pull request from stack #130280 November 6, 2026 22:28
@alexsohn1126
alexsohn1126 changed the base branch from alexsohn/cw-2329-seer-out-of-credits-notification to master November 6, 2026 22:29
@alexsohn1126 alexsohn1126 changed the title feat(slack): Hide autofix buttons when Seer credits are short feat(slack): Hide Fix with Seer on issue alerts when Seer credits run out Nov 6, 2026
@alexsohn1126
alexsohn1126 removed this pull request from stack #130325 November 7, 2026 03:50
@alexsohn1126
alexsohn1126 removed this pull request from stack #130353 November 9, 2026 15:27
@alexsohn1126
alexsohn1126 marked this pull request as ready for review November 9, 2026 15:30
@alexsohn1126
alexsohn1126 requested review from a team as code owners November 9, 2026 15:30
@alexsohn1126
alexsohn1126 force-pushed the alexsohn/cw-2329-slack-gate-autofix-buttons-on-seer-credits branch from e9789c8 to 82a7f7f Compare November 9, 2026 15:54
@alexsohn1126
alexsohn1126 removed this pull request from stack #130441 November 9, 2026 20:24
Comment thread src/sentry/seer/entrypoints/operator.py Resolved
alexsohn1126 and others added 2 commits November 10, 2026 15:37
… out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The button now runs the same billing check as the autofix trigger it
leads to. Token-billed orgs are checked for credits only, and everyone
else is checked for quota, with free cohort orgs still exempt.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@alexsohn1126
alexsohn1126 force-pushed the alexsohn/cw-2329-slack-gate-autofix-buttons-on-seer-credits branch from 82a7f7f to d0616dd Compare November 10, 2026 21:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants