codecov-api
codecov-api copied to clipboard
Add erase repository content mutation
Adds a mutation to erase a repository's content, replacing the REST endpoint we currently have in place.
A future PR will update gazebo to call this GQL mutation, and a follow up to that will remove the old REST code once we confirm it is no longer in use.
This PR closes https://github.com/orgs/codecov/projects/31/views/11?pane=issue&itemId=63021740.
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.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.90%. Comparing base (
56dbd5d) to head (68fbf75).
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #570 +/- ##
================================================
+ Coverage 95.89000 95.90000 +0.01000
================================================
Files 787 790 +3
Lines 17555 17603 +48
================================================
+ Hits 16835 16883 +48
Misses 720 720
| Flag | Coverage Δ | |
|---|---|---|
| unit | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
| unit-latest-uploader | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
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 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 Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.51%. Comparing base (
56dbd5d) to head (68fbf75).
:white_check_mark: All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #570 +/- ##
==========================================
+ Coverage 91.49% 91.51% +0.02%
==========================================
Files 609 612 +3
Lines 16237 16285 +48
==========================================
+ Hits 14856 14904 +48
Misses 1381 1381
| Flag | Coverage Δ | |
|---|---|---|
| unit | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
| unit-latest-uploader | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files | Coverage Δ | |
|---|---|---|
| ...ommands/repository/interactors/erase_repository.py | 100.00% <100.00%> (ø) |
|
| core/commands/repository/repository.py | 100.00% <100.00%> (ø) |
|
| graphql_api/types/mutation/__init__.py | 100.00% <100.00%> (ø) |
|
| ...ql_api/types/mutation/erase_repository/__init__.py | 100.00% <100.00%> (ø) |
|
| ...ypes/mutation/erase_repository/erase_repository.py | 100.00% <100.00%> (ø) |
|
| graphql_api/types/mutation/mutation.py | 100.00% <100.00%> (ø) |
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.51%. Comparing base (
56dbd5d) to head (68fbf75).
:white_check_mark: All tests successful. No failed tests found :relaxed:
@@ Coverage Diff @@
## main #570 +/- ##
==========================================
+ Coverage 91.49% 91.51% +0.02%
==========================================
Files 609 612 +3
Lines 16237 16285 +48
==========================================
+ Hits 14856 14904 +48
Misses 1381 1381
| Flag | Coverage Δ | |
|---|---|---|
| unit | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
| unit-latest-uploader | 91.51% <100.00%> (+0.02%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files | Coverage Δ | |
|---|---|---|
| ...ommands/repository/interactors/erase_repository.py | 100.00% <100.00%> (ø) |
|
| core/commands/repository/repository.py | 100.00% <100.00%> (ø) |
|
| graphql_api/types/mutation/__init__.py | 100.00% <100.00%> (ø) |
|
| ...ql_api/types/mutation/erase_repository/__init__.py | 100.00% <100.00%> (ø) |
|
| ...ypes/mutation/erase_repository/erase_repository.py | 100.00% <100.00%> (ø) |
|
| graphql_api/types/mutation/mutation.py | 100.00% <100.00%> (ø) |