Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have adjusted base comparison use threshold #1056

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nora-codecov
Copy link
Contributor

I noticed that the coverage comparison we do when we apply adjusted_base behavior does not take threshold into account. Talked with @aj-codecov, we think that if a user defines threshold, they would expect it to be applied to all coverage comparisons, not just some.

Therefore, I updated the comparison to include threshold if the user has set it.

Right now threshold doesn't change the message - this follows the pattern with the other project checks/status messages, where threshold is used in the comparison but not explicitly stated in the message.

@nora-codecov nora-codecov requested a review from a team January 31, 2025 01:26
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.52%. Comparing base (6302730) to head (c050058).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1056   +/-   ##
=======================================
  Coverage   97.52%   97.52%           
=======================================
  Files         462      462           
  Lines       37902    37914   +12     
=======================================
+ Hits        36963    36975   +12     
  Misses        939      939           
Flag Coverage Δ
integration 42.88% <7.69%> (-0.02%) ⬇️
unit 90.17% <100.00%> (+<0.01%) ⬆️

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.

⚠️ Impact Analysis from Codecov is deprecated and will be sunset on Jan 31 2025. See more

Copy link

✅ All tests successful. No failed tests were found.

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

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