feat(seer): Add org-level default stopping point and wire coding agent defaults into project creation#111697
Merged
feat(seer): Add org-level default stopping point and wire coding agent defaults into project creation#111697
Conversation
…t defaults into project creation Register new org option `sentry:default_stopping_point` and wire all org-level Seer defaults (stopping point, coding agent, auto_open_prs) into project creation and existing-org migration. When auto_open_prs is true, stopping point is forced to open_pr. External agents (Cursor/Claude) now get automation_handoff set on new projects. Also adds input validation for defaultCodingAgent with alias mapping (cursor -> cursor_background_agent, claude_code -> claude_code_agent) and ChoiceField validation for defaultAutomatedRunStoppingPoint. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com> Made-with: Cursor
srest2021
commented
Mar 26, 2026
Cover all org-default-to-project mapping cases: Seer agent with default and custom stopping points, auto_open_prs forcing open_pr, external agents (Cursor/Claude) with handoff config, missing integration ID edge case, API error handling, and dual-write feature flag gating. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com> Made-with: Cursor
srest2021
commented
Mar 26, 2026
Contributor
Backend Test FailuresFailures on
|
Contributor
Backend Test FailuresFailures on
|
Contributor
Backend Test FailuresFailures on
|
srest2021
commented
Mar 27, 2026
Mihir-Mavalankar
approved these changes
Mar 31, 2026
Contributor
Backend Test FailuresFailures on
|
Contributor
Backend Test FailuresFailures on
|
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
There are 5 total unresolved issues (including 2 from previous reviews).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
dashed
pushed a commit
that referenced
this pull request
Apr 1, 2026
…t defaults into project creation (#111697) Fixes CW-1120 Register new org option `sentry:default_automated_run_stopping_point` and wire all org-level Seer defaults (stopping point, coding agent, auto_open_prs) into both project creation and the existing-org migration task. Project creation and the org migration task to new seat-based pricing now: - Read the org's `defaultAutomatedRunStoppingPoint` and `defaultCodingAgent` and `defaultCodingAgentIntegrationId` - For external agents, configure automation_handoff with `auto_create_pr` from `auto_open_prs` - For Seer agent, `auto_open_prs=true` forces `open_pr`; `auto_open_prs=false` caps `open_pr` down to `code_changes` - Also adds ChoiceField validation for `defaultCodingAgent` (with alias mapping for cursor → cursor_background_agent, claude_code → claude_code_agent) and `defaultAutomatedRunStoppingPoint`. --------- Co-authored-by: Claude Sonnet 4 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes CW-1120
Register new org option
sentry:default_automated_run_stopping_pointand wire all org-level Seer defaults (stopping point, coding agent, auto_open_prs) into both project creation and the existing-org migration task.Project creation and the org migration task to new seat-based pricing now:
defaultAutomatedRunStoppingPointanddefaultCodingAgentanddefaultCodingAgentIntegrationIdauto_create_prfromauto_open_prsauto_open_prs=trueforcesopen_pr;auto_open_prs=falsecapsopen_prdown tocode_changesdefaultCodingAgent(with alias mapping for cursor → cursor_background_agent, claude_code → claude_code_agent) anddefaultAutomatedRunStoppingPoint.