codecov / codecov-api

Code for the API of Codecov
Other
214 stars 29 forks source link

add Account to Owner Serializer #712

Closed nora-codecov closed 1 month ago

nora-codecov commented 1 month ago

Purpose/Motivation

Provide read-only access to an Org's Account (if they have one)

Links to relevant tickets

Part of https://github.com/codecov/engineering-team/issues/2060

What does this PR do?

If your Org gets the "Enterprise Experience", you can access the details about your Account via the account-details endpoint

codecov-notifications[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

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

codecov-public-qa[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.72%. Comparing base (4a45617) to head (3288efa).

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

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #712      +/-   ##
==========================================
+ Coverage   91.71%   91.72%   +0.01%     
==========================================
  Files         632      633       +1     
  Lines       17039    17060      +21     
==========================================
+ Hits        15628    15649      +21     
  Misses       1411     1411              
Flag Coverage Δ
unit 91.72% <100.00%> (+0.01%) :arrow_up:
unit-latest-uploader 91.72% <100.00%> (+0.01%) :arrow_up:

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

Files Coverage Δ
api/internal/account/serializers.py 100.00% <100.00%> (ø)
api/internal/owner/serializers.py 99.03% <100.00%> (+<0.01%) :arrow_up:

Impacted file tree graph

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.02%. Comparing base (4a45617) to head (3288efa).

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #712 +/- ## ================================================ + Coverage 96.01000 96.02000 +0.01000 ================================================ Files 814 815 +1 Lines 18390 18411 +21 ================================================ + Hits 17658 17679 +21 Misses 732 732 ``` | [Flag](https://app.codecov.io/gh/codecov/codecov-api/pull/712/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/codecov/codecov-api/pull/712/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `91.72% <100.00%> (+0.01%)` | :arrow_up: | | [unit-latest-uploader](https://app.codecov.io/gh/codecov/codecov-api/pull/712/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `91.72% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov#carryforward-flags-in-the-pull-request-comment) to find out more.

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

codecov-qa[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.72%. Comparing base (4a45617) to head (3288efa).

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

@@            Coverage Diff             @@
##             main     #712      +/-   ##
==========================================
+ Coverage   91.71%   91.72%   +0.01%     
==========================================
  Files         632      633       +1     
  Lines       17039    17060      +21     
==========================================
+ Hits        15628    15649      +21     
  Misses       1411     1411              
Flag Coverage Δ
unit 91.72% <100.00%> (+0.01%) :arrow_up:
unit-latest-uploader 91.72% <100.00%> (+0.01%) :arrow_up:

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

Files Coverage Δ
api/internal/account/serializers.py 100.00% <100.00%> (ø)
api/internal/owner/serializers.py 99.03% <100.00%> (+<0.01%) :arrow_up:

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

nora-codecov commented 1 month ago

going to take this down - applications team can bring it back up when they're ready to build the Enterprise Experience 👍