Skip to content

Add agentic onboarding progress endpoints - #121914

Merged
evanpurkhiser merged 1 commit into
masterfrom
agentic-onboarding-endpoints
Aug 13, 2026
Merged

Add agentic onboarding progress endpoints#121914
evanpurkhiser merged 1 commit into
masterfrom
agentic-onboarding-endpoints

Conversation

@evanpurkhiser

@evanpurkhiser evanpurkhiser commented Aug 13, 2026

Copy link
Copy Markdown
Member

Stack 3 of 5. Previous: #121913. Next: #121915

Expose private organization endpoints for registering a browser run and accepting stage updates from the MCP tool. Requests require org:read access and bind every run to both the authenticated user and organization.

The API returns the complete normalized snapshot after each update so callers can observe accepted state and stop after a terminal run.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 13, 2026
@evanpurkhiser evanpurkhiser changed the title agentic onboarding endpoints Add agentic onboarding progress endpoints Aug 13, 2026
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 13, 2026
@sentry

sentry Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 473 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py Fixed
Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py
Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py Outdated
Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3f7b28c. Configure here.

Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py
Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py
Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py
Comment on lines +39 to +49
StageValue = Literal[
"connect_mcp",
"analyze_project",
"create_project",
"instrument_app",
"plan_test_error",
"send_verification_error",
"receive_verification_error",
"prepare_production",
"check_stack_trace_quality",
]

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.

Aren't these defined in constants elsewhere?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah unfortunately you can't get a type Literal out of an enum :/

Comment thread src/sentry/api/endpoints/organization_agentic_onboarding.py
Expose private organization endpoints for registering a browser run and
accepting stage updates from the MCP tool. Requests require org:read access
and bind every run to both the authenticated user and organization.

The API returns the complete normalized snapshot after each update so callers
can observe accepted state and stop after a terminal run.
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 Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants