Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
rbro112
commented
Aug 6, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #97332 +/- ##
==========================================
- Coverage 80.58% 80.58% -0.01%
==========================================
Files 8557 8557
Lines 376463 376468 +5
Branches 24468 24468
==========================================
Hits 303375 303375
- Misses 72718 72723 +5
Partials 370 370 |
trevor-e
approved these changes
Aug 7, 2025
src/sentry/preprod/tasks.py
Outdated
|
|
||
| # Create CommitComparison if git information is provided | ||
| commit_comparison = None | ||
| if head_sha and head_repo_name: |
Member
There was a problem hiding this comment.
Maybe we should be stricter and also require provider and head_ref?
| base_repo_name=base_repo_name, | ||
| head_ref=head_ref, | ||
| base_ref=base_ref, | ||
| pr_number=pr_number, |
Member
There was a problem hiding this comment.
Are you going to add FKs to the sentry.Commits table as well in this PR?
Member
Author
There was a problem hiding this comment.
Chatted offline, will be doing this as a follow up given the Commit/Repository model could require additional information.
27de38e to
03be905
Compare
09bf2cf to
348e871
Compare
348e871 to
a5b687e
Compare
This was referenced Aug 8, 2025
a5b687e to
de6b5e0
Compare
rbro112
added a commit
to getsentry/sentry-cli
that referenced
this pull request
Aug 11, 2025
Adds new VCS params as args to the `mobile-app` command and passes them to the API (pending getsentry/sentry#97332). Notably removes `sha` in favor of `head_sha`. Given this command is still unreleased and marked experimental, this would usually be a breaking change but I don't believe we need any backwards compatibility here. We'll implement default value providing for most of these as well in follow ups, as I'd prefer to silo those implementations for easier review && testing.
andrewshie-sentry
pushed a commit
that referenced
this pull request
Aug 12, 2025
…e endpoint (#97332) Pending FK being added on PreprodArtifact to CommitComparison, this wires up the assemble endpoint to take VCS-related params and create the CommitComparison model. sentry-cli changes to come. Notably, this removes the unused `git_sha` param in favor of the new fields.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Pending FK being added on PreprodArtifact to CommitComparison, this wires up the assemble endpoint to take VCS-related params and create the CommitComparison model. sentry-cli changes to come.
Notably, this removes the unused
git_shaparam in favor of the new fields.