Skip to content

ref(autofix): Use AUTOFIX_AUTOMATION_OCCURRENCE_THRESHOLD constant#111512

Merged
chromy merged 1 commit intomasterfrom
chromy/2026-03-25-unify-constant
Mar 25, 2026
Merged

ref(autofix): Use AUTOFIX_AUTOMATION_OCCURRENCE_THRESHOLD constant#111512
chromy merged 1 commit intomasterfrom
chromy/2026-03-25-unify-constant

Conversation

@chromy
Copy link
Contributor

@chromy chromy commented Mar 25, 2026

Replace hardcoded occurrence threshold of 10 with the AUTOFIX_AUTOMATION_OCCURRENCE_THRESHOLD constant from seer/autofix/constants.py across post_process, issue_summary, and autofix task files.

This makes the threshold easier to find and update in one place.

Agent transcript: https://claudescope.sentry.dev/share/Ds3urei5NiOArAv3zKTZQix_f66h60mux0NyITDbB5M

Replace hardcoded occurrence threshold of 10 with the
AUTOFIX_AUTOMATION_OCCURRENCE_THRESHOLD constant from
seer/autofix/constants.py across post_process, issue_summary,
and autofix task files.

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

Agent transcript: https://claudescope.sentry.dev/share/LoU2xM3ysKq4pB13jYnAtd1xtZu87YfJiDHMAr-CFg0
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 25, 2026
@chromy chromy marked this pull request as ready for review March 25, 2026 12:11
@chromy chromy requested review from a team as code owners March 25, 2026 12:11
@chromy chromy merged commit 0b9ce5a into master Mar 25, 2026
83 checks passed
@chromy chromy deleted the chromy/2026-03-25-unify-constant branch March 25, 2026 14:54
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.

3 participants