-
Notifications
You must be signed in to change notification settings - Fork 29
True Tokenless for BA and TA #882
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. 📢 Thoughts on this report? Let us know! |
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 #882 +/- ##
=======================================
Coverage 96.25% 96.26%
=======================================
Files 827 827
Lines 19090 19113 +23
=======================================
+ Hits 18376 18399 +23
Misses 714 714
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
joseph-sentry
left a comment
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.
left a couple of comments on the test results stuff that may also apply to BA
|
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time. ❌ Failed Test Results:Completed 2749 tests with View the full list of failed testspytest
|
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
| class UploadSerializer(serializers.Serializer): | ||
| commit = serializers.CharField(required=True) | ||
| slug = serializers.CharField(required=True) | ||
| service = serializers.CharField(required=False) # git_service |
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.
How come TA can't use git_service?
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.
Since it's already live in prod I figured it would be a whole thing to switch over to a different var name - what do you think @joseph-sentry ?
|
✅ All tests successful. No failed tests were found. 📣 Thoughts on this report? Let Codecov know! | Powered by Codecov |
| "service": data.get("service"), # git provider | ||
| "url": storage_path, # storage_path | ||
| # these are used for dispatching the task below | ||
| "commit": commit.commitid, |
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.
@joseph-sentry can you double check the changes I made to the TA fields? Is this still the design we're going with?
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.
just confirmed, TA sends git_service as service https://github.com/codecov/codecov-cli/blob/2935526caf5db25d64b02870f9cc45e33a7daa3d/codecov_cli/commands/create_report_result.py#L36
these changes should be good to go
JerrySentry
left a comment
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.
looks good on bundle analysis side of things.
joseph-sentry
left a comment
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
Purpose/Motivation
TT requires certain identifiers, BA and TA don't have the identifiers in their path, so I make custom methods to get the identifiers so that BA and TA can use TT.
Links to relevant tickets
codecov/engineering-team#2877