-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(launchpad): Create size analysis upload (assemble) endpoint #94353
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
feat(launchpad): Create size analysis upload (assemble) endpoint #94353
Conversation
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #94353 +/- ##
==========================================
+ Coverage 86.60% 87.93% +1.32%
==========================================
Files 10418 10418
Lines 602751 602894 +143
Branches 23451 23451
==========================================
+ Hits 522009 530131 +8122
+ Misses 80236 72257 -7979
Partials 506 506 |
41f69ae to
8e92148
Compare
3d2d7a5 to
d728ac7
Compare
| def test_download_preprod_artifact_success(self): | ||
| url = f"/api/0/internal/{self.organization.slug}/{self.project.slug}/files/preprodartifacts/{self.preprod_artifact.id}/" | ||
|
|
||
| headers = self._get_authenticated_request_headers(url) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i accidentally had the feature flag included in these tests. just cleaning it out
| "organization_id": org_id, | ||
| }, | ||
| ) | ||
| set_assemble_status( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to update the DB record to an error state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we should, good call. i'll add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually this case is pretty much only if you try to upload a size analysis file before there's a corresonding preprodartifact row in the DB, so I'm not going to update the DB in this case. I added logic into the "update" endpoint to ensure we have the logic required to mark the artifacts as failed w the corresponding errors
d728ac7 to
ea3f3b3
Compare
9472cf4 to
e997022
Compare
e997022 to
519edfc
Compare
519edfc to
3b07e6b
Compare
3b07e6b to
a892807
Compare
a892807 to
08275b7
Compare
Suspect IssuesThis pull request was deployed and Sentry observed the following issues: Did you find this useful? React with a 👍 or 👎 |

related project