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

add true tokenless to all upload endpoints, remove from TR #958

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

nora-codecov
Copy link
Contributor

Links to relevant tickets

codecov/engineering-team#2300

What does this PR do?

Auth stack on upload endpoints needs to match what's on shelter, which treats all upload endpoints equally.

@nora-codecov nora-codecov requested a review from a team November 4, 2024 19:19
@@ -59,7 +58,6 @@ class TestResultsView(
):
permission_classes = [UploadTestResultsPermission]
authentication_classes = [
UploadTokenRequiredAuthenticationCheck,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TR needs a custom method, this is in an upcoming pr. We can leave this auth method in the stack, but it would never evaluate to True.

@codecov-notifications
Copy link

codecov-notifications bot commented Nov 4, 2024

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!

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.25%. Comparing base (97f26ab) to head (6088bb9).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #958   +/-   ##
=======================================
  Coverage   96.25%   96.25%           
=======================================
  Files         826      826           
  Lines       19040    19040           
=======================================
  Hits        18326    18326           
  Misses        714      714           
Flag Coverage Δ
unit 92.50% <ø> (ø)
unit-latest-uploader 92.50% <ø> (ø)

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.

@nora-codecov nora-codecov added this pull request to the merge queue Nov 6, 2024
Merged via the queue into main with commit 0273319 Nov 6, 2024
18 of 19 checks passed
@nora-codecov nora-codecov deleted the nora/2300 branch November 6, 2024 17:14
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.

3 participants