Skip to content

ref(seer): Get stopping point and handoff directly in callsites that don't need the full project preference#116222

Merged
srest2021 merged 2 commits into
masterfrom
srest2021/ref-read-pref-calls
May 27, 2026
Merged

ref(seer): Get stopping point and handoff directly in callsites that don't need the full project preference#116222
srest2021 merged 2 commits into
masterfrom
srest2021/ref-read-pref-calls

Conversation

@srest2021
Copy link
Copy Markdown
Member

@srest2021 srest2021 commented May 26, 2026

Call get_automation_handoff(project.get_option) directly instead of going through read_preference_from_sentry_db (which also queries repos) in call sites that only need the handoff config. Similarly, get_automation_stopping_point now reads the stopping point project option directly.

There's no behavior change and the data sources stay the same. I'm just calling the relevant getter directly instead of via read_preference_from_sentry_db.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 26, 2026
@srest2021 srest2021 changed the title ref(seer): ref(seer): Use get_automation_handoff directly instead of read_preference_from_sentry_db May 26, 2026
@srest2021 srest2021 changed the title ref(seer): Use get_automation_handoff directly instead of read_preference_from_sentry_db ref(seer): Get stopping point and handoff directly in callsites that don't need the full project preference May 26, 2026
@srest2021 srest2021 marked this pull request as ready for review May 26, 2026 19:07
@srest2021 srest2021 requested a review from a team as a code owner May 26, 2026 19:07
@srest2021 srest2021 merged commit 4186804 into master May 27, 2026
109 of 113 checks passed
@srest2021 srest2021 deleted the srest2021/ref-read-pref-calls branch May 27, 2026 23:31
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