Skip to content

Conversation

@nielsenko
Copy link
Collaborator

Description

Codecov is reporting incorrect coverage (28%) after the recent mono-repo restructuring, when the actual coverage is above 90%. This PR fixes the Codecov configuration to properly handle the multi-package mono-repo structure.

  • Added ignore paths to exclude non-package directories (examples, benchmark, doc) from coverage calculations.
  • Split the single coverage upload into three separate uploads, each with the corresponding package flag (relic_core, relic_io, relic). This ensures Codecov correctly associates each coverage report with its package.

Related Issues

  • Fixes: #?

Pre-Launch Checklist

Please ensure that your PR meets the following requirements before submitting:

  • This update focuses on a single feature or bug fix. (For multiple fixes, please submit separate PRs.)
  • I have read and followed the Dart Style Guide and formatted the code using dart format.
  • I have referenced at least one issue this PR fixes or is related to.
  • I have updated/added relevant documentation (doc comments with ///), ensuring consistency with existing project documentation.
  • I have added new tests to verify the changes.
  • All existing and new tests pass successfully.
  • I have documented any breaking changes below.

Breaking Changes

  • No breaking changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.95%. Comparing base (196eef7) to head (e1ad156).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #318   +/-   ##
=======================================
  Coverage   27.95%   27.95%           
=======================================
  Files          87       87           
  Lines        3291     3291           
  Branches     1735     1735           
=======================================
  Hits          920      920           
  Misses       2371     2371           
Flag Coverage Δ
relic_core 27.95% <ø> (?)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add ignore paths for examples, benchmark, and doc directories
- Split coverage upload into separate steps with flags for each package
- Associate each lcov.info file with its corresponding package flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant