Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
878d082
add update_seer_project_settings helper, tests, and constants prep
srest2021 May 6, 2026
8829ef6
add bulk and single-project Seer settings endpoints
srest2021 May 7, 2026
dbaab6f
:hammer_and_wrench: Sync API Urls to TypeScript
getsantry[bot] May 7, 2026
4e3acca
cleaning up
srest2021 May 7, 2026
3499981
cleaning up
srest2021 May 7, 2026
7aad2cb
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
b30614a
use CODING_AGENT_ALIAS_TO_HANDOFF_TARGET from constants in organizati…
srest2021 May 7, 2026
5df803c
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
d661040
remove unnecessary delete
srest2021 May 7, 2026
b77074e
fix test
srest2021 May 7, 2026
486991f
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
1e3b611
address review comment; dont clear auto_create_pr if stopping point off
srest2021 May 7, 2026
8f1ccc2
fix missing alias types
srest2021 May 7, 2026
18562b2
fix typing
srest2021 May 7, 2026
3a2290f
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
7922e49
add alias enum
srest2021 May 7, 2026
aff51bc
add project lock
srest2021 May 7, 2026
5b0413e
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
28acf0f
sort by stopping point
srest2021 May 7, 2026
372f4a1
use coding agent enum and remove dict
srest2021 May 7, 2026
10e8c4d
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
696039d
remove alias conversion
srest2021 May 7, 2026
8e1043e
move to utils and use codingagentprovidertype
srest2021 May 7, 2026
b22f7ed
minimize diff
srest2021 May 7, 2026
e2aa4e4
minimize diff
srest2021 May 7, 2026
b6291e5
Merge branch 'srest2021/CW-1285-utils-prep' into srest2021/CW-1285
srest2021 May 7, 2026
e7fc0b6
update enum name and throw invalidsearchquery if op not supported
srest2021 May 7, 2026
0572992
resolve merge conflicts
srest2021 May 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/sentry/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,10 @@
from sentry.seer.endpoints.organization_seer_workflows import OrganizationSeerWorkflowsEndpoint
from sentry.seer.endpoints.project_seer_night_shift import ProjectSeerNightShiftEndpoint
from sentry.seer.endpoints.project_seer_preferences import ProjectSeerPreferencesEndpoint
from sentry.seer.endpoints.project_settings import (
OrganizationSeerProjectSettingsEndpoint,
ProjectSeerSettingsEndpoint,
)
from sentry.seer.endpoints.search_agent_start import SearchAgentStartEndpoint
from sentry.seer.endpoints.search_agent_state import SearchAgentStateEndpoint
from sentry.seer.endpoints.seer_rpc import SeerRpcServiceEndpoint
Expand Down Expand Up @@ -2467,6 +2471,11 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
OrganizationAutofixAutomationSettingsEndpoint.as_view(),
name="sentry-api-0-organization-autofix-automation-settings",
),
re_path(
r"^(?P<organization_id_or_slug>[^/]+)/seer/projects/$",
OrganizationSeerProjectSettingsEndpoint.as_view(),
name="sentry-api-0-organization-seer-project-settings",
),
re_path(
r"^(?P<organization_id_or_slug>[^/]+)/seer-rpc/(?P<method_name>\w+)/$",
OrganizationSeerRpcEndpoint.as_view(),
Expand Down Expand Up @@ -3372,6 +3381,11 @@ def create_group_urls(name_prefix: str) -> list[URLPattern | URLResolver]:
name="sentry-api-0-project-tempest-credentials-details",
),
# Seer
re_path(
r"^(?P<organization_id_or_slug>[^/]+)/(?P<project_id_or_slug>[^/]+)/seer/settings/$",
ProjectSeerSettingsEndpoint.as_view(),
name="sentry-api-0-project-seer-settings",
),
re_path(
r"^(?P<organization_id_or_slug>[^/]+)/(?P<project_id_or_slug>[^/]+)/seer/preferences/$",
ProjectSeerPreferencesEndpoint.as_view(),
Expand Down
1 change: 1 addition & 0 deletions src/sentry/projectoptions/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
"sentry:seer_automation_handoff_integration_id",
"sentry:seer_automation_handoff_auto_create_pr",
"sentry:autofix_automation_tuning",
"sentry:seer_scanner_automation",
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.

this didn't exist before?

Copy link
Copy Markdown
Member Author

@srest2021 srest2021 May 8, 2026

Choose a reason for hiding this comment

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

It's not part of the SeerProjectPreference model (I wrote this list so I could use it in the original SeerProjectRepository read/write helpers which use SeerProjectPreference), but since it's an autofix-specific setting I figured I'd add it to try and centralize all of our Seer settings into one place.

]

# Boolean to enable/disable preprod size analysis for this project.
Expand Down
Loading
Loading