-
-
Notifications
You must be signed in to change notification settings - Fork 37
API integration and error reporting for code-mappings upload #1079
Copy link
Copy link
Closed
getsentry/sentry-cli
#3209Description
Context
Wire the CLI command to the new bulk code mappings API endpoint and display results to the user.
What
- POST to
/api/0/organizations/{org}/code-mappings/bulk/with the assembled payload - Handle HTTP responses:
- 200: all mappings succeeded — display summary (X created, Y updated)
- 207: partial failure — display per-mapping results, highlight errors
- 400: validation error — display error details
- 404: project/repo not found — display actionable error message
- 403/401: permission denied — suggest checking auth token scopes
- Display a summary table of results (created/updated/error counts)
- Exit with non-zero code if any errors occurred
Repo
This is in the sentry-cli repository.
Depends on
- Backend bulk endpoint (GRADLE-75) must be deployed first
Reactions are currently unavailable
Metadata
Metadata
Assignees
Fields
Give feedbackNo fields configured for issues without a type.