docs(snapshots): Document selective uploads for subset/sharded CI runs#17807
Merged
Conversation
Adds a Selective Uploads section to the uploading snapshots product docs explaining the --selective flag behavior: only uploaded snapshots are diffed, missing ones are treated as unchanged, and selective uploads with the same commit SHA and app-id are merged. Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…loads caveat The limitation that removals and renames cannot be detected with --selective applies universally, not just on PRs. Align the CLI reference with the product docs. Co-Authored-By: Claude <noreply@anthropic.com>
mtopo27
approved these changes
May 19, 2026
|
|
||
| ## Selective Uploads | ||
|
|
||
| If you only generate a subset of your snapshots per CI run — for example, because you shard tests across parallel jobs or run only affected tests — pass the `--selective` flag on each upload: |
Contributor
There was a problem hiding this comment.
- "Selective Uploads" or "Selective Testing"? I lean the latter bc in my mind that is a more known term, but might be wrong
- nit: i think sharding example is less likely than the latter and should go after
…ples Address review feedback: "Selective Testing" is a more familiar term than "Selective Uploads", and running affected tests is a more common use case than sharding. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a "Selective Uploads" section to the uploading snapshots product docs explaining the
--selectiveflag added in getsentry/sentry-cli#3268.The new section covers:
--selective(sharding tests across parallel CI jobs, running only affected tests)The CLI reference at
/cli/snapshots/already documents the flag — this adds the conceptual explanation in the product docs where users discover the feature.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST