Skip to content

fix(api): Accept nullable onboarding reference lists - #1246

Merged
evanpurkhiser merged 1 commit into
mainfrom
evanpurkhiser/fix-api-accept-nullable-onboarding-reference-lists
Aug 14, 2026
Merged

fix(api): Accept nullable onboarding reference lists#1246
evanpurkhiser merged 1 commit into
mainfrom
evanpurkhiser/fix-api-accept-nullable-onboarding-reference-lists

Conversation

@evanpurkhiser

Copy link
Copy Markdown
Member

The onboarding status endpoint can return null for projectSlugs and issueIds before resources are associated with a run. The MCP response parser currently rejects that successful response and reports a tool failure even though the UI update was accepted.

Normalize nullable reference lists to empty arrays at the API boundary and cover the production response shape with a regression test.

Fixes https://sentry.sentry.io/issues/MCP-SERVER-G77

Sentry may return null reference lists before a project or issue has been
associated with an onboarding run. Normalize those values to empty lists so a
successful status update does not surface as a tool failure.

Fixes MCP-SERVER-G77
@evanpurkhiser
evanpurkhiser requested a review from dcramer August 14, 2026 01:43
@evanpurkhiser
evanpurkhiser enabled auto-merge (squash) August 14, 2026 01:43
@evanpurkhiser
evanpurkhiser merged commit 1d360d9 into main Aug 14, 2026
18 of 20 checks passed
@evanpurkhiser
evanpurkhiser deleted the evanpurkhiser/fix-api-accept-nullable-onboarding-reference-lists branch August 14, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant