-
Notifications
You must be signed in to change notification settings - Fork 30
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
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. |
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
f2f587d
to
609eaf8
Compare
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 |
@@ -39,13 +39,13 @@ def has_permission(self, request, view): | |||
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 ?
609eaf8
to
e5a7000
Compare
✅ All tests successful. No failed tests were found. 📣 Thoughts on this report? Let Codecov know! | Powered by Codecov |
@@ -156,7 +158,7 @@ def post(self, request): | |||
"build_url": data.get("buildURL"), # build_url | |||
"job": data.get("job"), # job_code | |||
"flags": data.get("flags"), | |||
"service": data.get("ci_service"), # provider | |||
"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
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.
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