Skip to content

Commit

Permalink
feat: Update release note IA
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklem committed Jan 12, 2024
1 parent de7afbc commit c330a76
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,13 @@ On December 7th 2023 we set the new Coverage engine to post coverage summaries t

On December 27th 2023 we set the [diff tab of the Coverage pull requests page](../../repositories-coverage/pull-requests.md#diff-tab) to get data from the new Coverage engine.

## Differences in coverage metrics between the old and new Coverage engines
## Missing data and differences in reported metrics

You may notice some differences in the coverage metrics reported by the old and new Coverage engines and may need to update your [coverage gate rules](../../repositories-configure/adjusting-quality-gates.md) accordingly. This may happen because the new Coverage engine calculates coverage metrics considering all the files included in the coverage report, while the old Coverage engine ignores some files:

- The old Coverage engine ignores any files on a coverage report that aren't present on the repository on that given commit.
- The old Coverage engine may ignore additional files since it shares [ignore rules](../../repositories-configure/ignoring-files.md) with the Codacy analysis engine.
### Missing data on the Coverage Pull request page {: id="differences-in-coverage-metrics-between-the-coverage-and-quality-pull-request-pages" }

## Differences in coverage metrics between the Coverage and Quality pull request pages
You may notice missing coverage data on the [Coverage Pull requests page](../../repositories-coverage/pull-requests.md) for older pull requests when compared to the coverage data shown on the [Quality Pull requests page](../../repositories/pull-requests.md). This may happen due to a number of reasons:

You may notice some differences in the coverage metrics reported by the [Coverage Pull requests page](../../repositories-coverage/pull-requests.md) and [Quality Pull requests page](../../repositories/pull-requests.md). This may happen due to a number of reasons:
- GitHub only: The new Coverage service requires updated app permissions. If you haven't done so yet, please [review and accept the updated Codacy app permissions](https://docs.github.com/en/enterprise-cloud@latest/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#reviewing-permissions) on GitHub and re-analyze the pull request by pushing an empty commit.

- The latest commit to the pull request was pushed before the new Coverage engine was enabled. To resolve this, please re-analyze the pull request by pushing an empty commit:

Expand All @@ -160,4 +157,9 @@ You may notice some differences in the coverage metrics reported by the [Coverag
git push
```

- GitHub only: The new Coverage service requires updated app permissions. If you haven't done so yet, please [review and accept the updated Codacy app permissions](https://docs.github.com/en/enterprise-cloud@latest/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#reviewing-permissions) on GitHub and re-analyze the pull request by pushing an empty commit.
### Differences in coverage metrics between the old and new Coverage engines {: id="differences-in-coverage-metrics-between-the-old-and-new-coverage-engines"}

You may notice some differences in the coverage metrics reported by the old and new Coverage engines and may need to update your [coverage gate rules](../../repositories-configure/adjusting-quality-gates.md) accordingly. This may happen because the new Coverage engine calculates coverage metrics considering all the files included in the coverage report, while the old Coverage engine ignores some files:

- The old Coverage engine ignores any files on a coverage report that aren't present on the repository on that given commit.
- The old Coverage engine may ignore additional files since it shares [ignore rules](../../repositories-configure/ignoring-files.md) with the Codacy analysis engine.

0 comments on commit c330a76

Please sign in to comment.