Skip to content

fix(react-router): Ensure source map upload fails silently if Sentry CLI fails #17081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 18, 2025

Sentry CLI's cli.releases.uploadSourceMaps method previously never rejected when the actual CLI binary execution exited with an error code. In CLI 2.49.0 and 2.50.0 I added a new execution mode variant (rejectOnError) which continues to pipe stdio to the process (the RR SDKs' upload script) but now also rejects on error.

This PR bumps Sentry CLI and configures it to actually reject now. We already catch the rejection and fail silently. Nothing changed here.

@Lms24 Lms24 changed the title fix(react-router): Ensure source map upload fails if Sentry CLI fails fix(react-router): Ensure source map upload fails silently if Sentry CLI fails Jul 18, 2025
@Lms24 Lms24 self-assigned this Jul 18, 2025
@Lms24 Lms24 marked this pull request as ready for review July 18, 2025 14:47
@Lms24 Lms24 requested review from a team, stephanie-anderson, chargome and msonnb and removed request for a team and stephanie-anderson July 18, 2025 14: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