Skip to content

ref(issue-detection): Move LLM detection scheduler #114044

Merged
roggenkemper merged 2 commits intomasterfrom
roggenkemper/llm-detection-remove-scheduler
Apr 29, 2026
Merged

ref(issue-detection): Move LLM detection scheduler #114044
roggenkemper merged 2 commits intomasterfrom
roggenkemper/llm-detection-remove-scheduler

Conversation

@roggenkemper
Copy link
Copy Markdown
Member

@roggenkemper roggenkemper commented Apr 27, 2026

  • Remove run_llm_issue_detection beat task and the cursored scheduler plumbing from sentry
  • The scheduler is moving so it can filter by subscription plan family directly, instead of leaning on flagpole to gate by plan after orgs are already snapshotted into the cycle
  • Per-org task detect_llm_issues_for_org and the eligibility check _is_org_eligible stay in sentry — getsentry will import them

Remove the run_llm_issue_detection beat task and CursoredScheduler
plumbing from sentry. The scheduler is moving to getsentry so the
queryset can filter by subscription plan family directly, instead of
relying on flagpole to gate by plan after the fact.

The per-org task (detect_llm_issues_for_org) and the eligibility
check (_is_org_eligible) stay in sentry — getsentry will import them.

This lands first; the getsentry scheduler PR follows immediately. The
detection task will not run between these merges.
@roggenkemper roggenkemper requested review from a team as code owners April 27, 2026 14:52
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 27, 2026
@roggenkemper roggenkemper changed the title ref(issue-detection): Move LLM detection scheduler to getsentry ref(issue-detection): Move LLM detection scheduler Apr 27, 2026
@roggenkemper roggenkemper marked this pull request as draft April 27, 2026 15:01
@roggenkemper roggenkemper force-pushed the roggenkemper/llm-detection-remove-scheduler branch from 691177e to 0b8ecdd Compare April 27, 2026 15:23
@roggenkemper roggenkemper marked this pull request as ready for review April 28, 2026 17:35
@roggenkemper roggenkemper merged commit 64b3f18 into master Apr 29, 2026
76 checks passed
@roggenkemper roggenkemper deleted the roggenkemper/llm-detection-remove-scheduler branch April 29, 2026 13:21
cleptric pushed a commit that referenced this pull request May 5, 2026
- Remove `run_llm_issue_detection` beat task and the cursored scheduler
plumbing from sentry
- The scheduler is moving so it can filter by subscription plan family
directly, instead of leaning on flagpole to gate by plan after orgs are
already snapshotted into the cycle
- Per-org task `detect_llm_issues_for_org` and the eligibility check
`_is_org_eligible` stay in sentry — getsentry will import them
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