Skip to content

Conversation

P1n3appl3
Copy link
Contributor

According to the docs, --no-upload is supposed to "run all steps for the processing", but currently it exits early and doesn't actually do any searching for debug files.

This PR defers the exit until right before files are actually uploaded, which makes the command actually output helpful information for troubleshooting.

@P1n3appl3 P1n3appl3 requested review from a team and szokeasaurusrex as code owners August 8, 2025 21:47
cursor[bot]

This comment was marked as outdated.

@szokeasaurusrex szokeasaurusrex changed the title Improve --no-upload flag for sentry-cli dif upload fix: Run all processing steps with debug-files upload --no-upload Aug 11, 2025
@szokeasaurusrex szokeasaurusrex changed the title fix: Run all processing steps with debug-files upload --no-upload fix(debug-files): Run all processing steps with --no-upload Aug 11, 2025
Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

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

This is a breaking change, as the change moves the check for --no-upload after the request to the chunk upload endpoint, which requires a valid auth token, that we did not need previously.

However, given that the --no-upload help text states that we run all processing steps, I believe it is reasonable that we handle this as a bug fix

@szokeasaurusrex szokeasaurusrex merged commit 0b093b3 into getsentry:master Aug 11, 2025
31 checks passed
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.

3 participants