microsoft / gpt-review

MIT License
257 stars 48 forks source link

chore: pr summarization for releases #118

Open danay1999 opened 1 year ago

danay1999 commented 1 year ago

Description

The goal of this PR is to implement a feature that allows of the bulk review of PRs. It will provide a concise summary of the changes to the codebase and their impact.

Testing

Additional context

codecov-commenter commented 1 year ago

Codecov Report

Attention: Patch coverage is 54.71014% with 125 lines in your changes missing coverage. Please review.

Project coverage is 79.04%. Comparing base (3f14212) to head (3618222). Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
src/gpt_review/repositories/devops.py 56.50% 97 Missing and 10 partials :warning:
src/gpt_review/prompts/_prompt_pr_summary.py 0.00% 16 Missing :warning:
src/gpt_review/prompts/_prompt.py 33.33% 2 Missing :warning:

:exclamation: There is a different number of reports uploaded between BASE (3f14212) and HEAD (3618222). Click for more details.

HEAD has 1 upload less than BASE | Flag | BASE (3f14212) | HEAD (3618222) | |------|------|------| |integration-3.11|1|0|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## =========================================== - Coverage 95.43% 79.04% -16.39% =========================================== Files 14 17 +3 Lines 504 778 +274 Branches 78 114 +36 =========================================== + Hits 481 615 +134 - Misses 16 144 +128 - Partials 7 19 +12 ``` | [Flag](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [integration-3.11](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `?` | | | [unittests-3.10](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `78.79% <54.71%> (-13.28%)` | :arrow_down: | | [unittests-3.11](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `78.79% <54.71%> (-13.28%)` | :arrow_down: | | [unittests-3.8](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `78.79% <54.71%> (-13.28%)` | :arrow_down: | | [unittests-3.9](https://app.codecov.io/gh/microsoft/gpt-review/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | `78.79% <54.71%> (-13.28%)` | :arrow_down: | 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=microsoft#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.