codecov / codecov-api

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

Failed tests GraphQl query #683

Closed RulaKhaled closed 1 month ago

RulaKhaled commented 1 month ago

Purpose/Motivation

What is the feature? Why is this being done? We need to query tests of repository query for the new test results tab. closes: https://github.com/codecov/engineering-team/issues/2069

Links to relevant tickets

What does this PR do?

Include a brief description of the changes in this PR. Bullet points are your friend.

Notes to Reviewer

Anything to note to the team? Any tips on how to review, or where to start?

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-notifications[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 97.36842% with 2 lines in your changes missing coverage. Please review.

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

Files Patch % Lines
graphql_api/helpers/connection.py 88.88% 2 Missing :warning:

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

codecov-qa[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 97.36842% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.65%. Comparing base (ec5df79) to head (453f8f5). Report is 9 commits behind head on main.

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

@@            Coverage Diff             @@
##             main     #683      +/-   ##
==========================================
+ Coverage   91.62%   91.65%   +0.02%     
==========================================
  Files         629      631       +2     
  Lines       16733    16840     +107     
==========================================
+ Hits        15332    15435     +103     
- Misses       1401     1405       +4     
Flag Coverage Δ
unit 91.65% <97.36%> (+0.02%) :arrow_up:
unit-latest-uploader 91.65% <97.36%> (+0.02%) :arrow_up:

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

Files Coverage Δ
graphql_api/types/__init__.py 100.00% <100.00%> (ø)
graphql_api/types/enums/__init__.py 100.00% <ø> (ø)
graphql_api/types/enums/enum_types.py 100.00% <ø> (ø)
graphql_api/types/enums/enums.py 100.00% <100.00%> (ø)
graphql_api/types/repository/repository.py 100.00% <100.00%> (ø)
graphql_api/types/test_results/__init__.py 100.00% <100.00%> (ø)
graphql_api/types/test_results/test_results.py 100.00% <100.00%> (ø)
reports/tests/factories.py 100.00% <100.00%> (ø)
utils/test_results.py 100.00% <100.00%> (ø)
graphql_api/helpers/connection.py 96.82% <88.88%> (-3.18%) :arrow_down:

... and 12 files with indirect coverage changes

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

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

Codecov Report

Attention: Patch coverage is 97.36842% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.65%. Comparing base (ec5df79) to head (453f8f5). Report is 9 commits behind head on main.

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

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #683      +/-   ##
==========================================
+ Coverage   91.62%   91.65%   +0.02%     
==========================================
  Files         629      631       +2     
  Lines       16733    16840     +107     
==========================================
+ Hits        15332    15435     +103     
- Misses       1401     1405       +4     
Flag Coverage Δ
unit 91.65% <97.36%> (+0.02%) :arrow_up:
unit-latest-uploader 91.65% <97.36%> (+0.02%) :arrow_up:

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

Files Coverage Δ
graphql_api/types/__init__.py 100.00% <100.00%> (ø)
graphql_api/types/enums/__init__.py 100.00% <ø> (ø)
graphql_api/types/enums/enum_types.py 100.00% <ø> (ø)
graphql_api/types/enums/enums.py 100.00% <100.00%> (ø)
graphql_api/types/repository/repository.py 100.00% <100.00%> (ø)
graphql_api/types/test_results/__init__.py 100.00% <100.00%> (ø)
graphql_api/types/test_results/test_results.py 100.00% <100.00%> (ø)
reports/tests/factories.py 100.00% <100.00%> (ø)
utils/test_results.py 100.00% <100.00%> (ø)
graphql_api/helpers/connection.py 96.82% <88.88%> (-3.18%) :arrow_down:

... and 12 files with indirect coverage changes

Impacted file tree graph

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 97.36842% with 2 lines in your changes missing coverage. Please review.

Project coverage is 95.99%. Comparing base (ec5df79) to head (453f8f5). Report is 9 commits behind head on main.

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

Files Patch % Lines
graphql_api/helpers/connection.py 88.88% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #683 +/- ## ================================================ + Coverage 95.95000 95.99000 +0.04000 ================================================ Files 808 811 +3 Lines 18065 18432 +367 ================================================ + Hits 17335 17693 +358 - Misses 730 739 +9 ``` | [Flag](https://app.codecov.io/gh/codecov/codecov-api/pull/683/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/683/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `91.65% <97.36%> (+0.02%)` | :arrow_up: | | [unit-latest-uploader](https://app.codecov.io/gh/codecov/codecov-api/pull/683/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `91.65% <97.36%> (+0.02%)` | :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.