Skip to content
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: allow nulls in non-required params for BA upload endpoint #342

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

JerrySentry
Copy link
Contributor

Purpose/Motivation

Allow clients to send null values for the params that are not required. Null values are appropriately handled by the API.

Links to relevant tickets

codecov/engineering-team#1052

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Copy link
Contributor

@adrian-codecov adrian-codecov left a comment

Choose a reason for hiding this comment

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

Should we leave a note explaining why?

@codecov-staging
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@codecov-qa
Copy link

codecov-qa bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4bbcf68) 96.06% compared to head (20f7013) 96.06%.

❗ Current head 20f7013 differs from pull request most recent head 6620d4c. Consider uploading reports for the commit 6620d4c to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #342   +/-   ##
=======================================
  Coverage   96.06%   96.06%           
=======================================
  Files         623      623           
  Lines       16155    16155           
=======================================
  Hits        15519    15519           
  Misses        636      636           
Flag Coverage Δ
unit 96.06% <100.00%> (ø)
unit-latest-uploader 96.06% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codecov-public-qa bot commented Jan 16, 2024

Codecov Report

Merging #342 (6620d4c) into main (4bbcf68) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #342   +/-   ##
=======================================
  Coverage   96.06%   96.06%           
=======================================
  Files         623      623           
  Lines       16155    16155           
=======================================
  Hits        15519    15519           
  Misses        636      636           
Flag Coverage Δ
unit 96.06% <100.00%> (ø)
unit-latest-uploader 96.06% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
upload/views/bundle_analysis.py 98.38% <100.00%> (ø)

Impacted file tree graph

@JerrySentry JerrySentry merged commit 86431d3 into main Jan 16, 2024
13 of 14 checks passed
@JerrySentry JerrySentry deleted the api_1052 branch January 16, 2024 18:31
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.

2 participants