-
Notifications
You must be signed in to change notification settings - Fork 28
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
bundle analysis: compare with stored compareSha if applicable #754
Conversation
requirements.in
Outdated
@@ -20,7 +20,7 @@ factory-boy | |||
fakeredis | |||
freezegun | |||
https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem | |||
https://github.com/codecov/shared/archive/1482593343604028ffee5902da080696eb8c14d4.tar.gz#egg=shared | |||
https://github.com/codecov/shared/archive/c2dc0c175fcd0d0040083a85c4b7d4a3b796e7cd.tar.gz#egg=shared |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be updated once Shared PR commit is merged to main
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. 📢 Thoughts on this report? Let us know! |
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run timegraphql_api.tests.test_commit.TestCommit�test_bundle_analysis_compare_with_compare_sha To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time. ❌ Failed Test Results:Completed 2269 tests with View the full list of failed testspytest
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #754 +/- ##
===========================================
Coverage 96.16000 96.16000
===========================================
Files 814 814
Lines 18424 18425 +1
===========================================
+ Hits 17717 17718 +1
Misses 707 707
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -107,8 +107,12 @@ def resolve_bundle_analysis_compare_with_base( | |||
head_commit_sha = pull.head if pull.head else pull.compared_to | |||
|
|||
bundle_analysis_comparison = load_bundle_analysis_comparison( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This never had a filter by repo ugh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Once we finish the coding side of things, it might be useful documenting this with some diagrams or something so that it's pretty clear how the BA comparison logic would differ from the coverage logic.
When doing a comparison, try to find the base commit of the head commit based on the stored custom compareSha in the bundle report first, if not found default back to using commit.parent.
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.