codecov-api icon indicating copy to clipboard operation
codecov-api copied to clipboard

Add a sunburst internal endpoint

Open JerrySentry opened this issue 11 months ago • 8 comments

Make a copy of tree endpoint that returns a slightly different response structure:

  • renamed coverage to value
  • dropped the following: lines, hits, partials, misses

Once this new endpoint is proven effectively by the frontend we will delete /tree endpoint and migrate the tests to this endpoint as well

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.

JerrySentry avatar Feb 19 '25 21:02 JerrySentry

Codecov Report

Attention: Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
api/shared/report/serializers.py 43.75% 9 Missing :warning:
api/internal/coverage/views.py 50.00% 3 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!

Codecov Report

Attention: Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.

Project coverage is 95.86%. Comparing base (de5e284) to head (81643ce).

:white_check_mark: All tests successful. No failed tests found.

codecov-qa[bot] avatar Feb 19 '25 21:02 codecov-qa[bot]

Codecov Report

Attention: Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.

Project coverage is 96.01%. Comparing base (de5e284) to head (81643ce).

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
api/shared/report/serializers.py 43.75% 9 Missing :warning:
api/internal/coverage/views.py 50.00% 3 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1164      +/-   ##
==========================================
- Coverage   96.07%   96.01%   -0.06%     
==========================================
  Files         836      836              
  Lines       19723    19742      +19     
==========================================
+ Hits        18948    18955       +7     
- Misses        775      787      +12     
Flag Coverage Δ
unit 95.86% <45.45%> (-0.07%) :arrow_down:
unit-latest-uploader 95.86% <45.45%> (-0.07%) :arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 19 '25 21:02 codecov[bot]

@ai-review-prompt-prod

JerrySentry avatar Feb 24 '25 18:02 JerrySentry

@codecov-ai-reviewer

JerrySentry avatar Feb 24 '25 18:02 JerrySentry

@codecov-ai-reviewer review

JerrySentry avatar Feb 24 '25 18:02 JerrySentry

On it! We are reviewing the PR and will provide feedback shortly.

codecov-ai[bot] avatar Feb 24 '25 18:02 codecov-ai[bot]

No changes requiring review at this time.

codecov-ai[bot] avatar Feb 24 '25 18:02 codecov-ai[bot]