-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: Set token required in Tokenless section under org upload token #3366
Conversation
Bundle ReportChanges will increase total bundle size by 2.95kB (0.05%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Bundle ReportChanges will increase total bundle size by 2.95kB (0.05%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #3366 +/- ##
==========================================
- Coverage 99.17% 99.16% -0.02%
==========================================
Files 802 804 +2
Lines 14139 14185 +46
Branches 3896 3911 +15
==========================================
+ Hits 14022 14066 +44
- Misses 108 110 +2
Partials 9 9
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3366 +/- ##
==========================================
- Coverage 99.17% 99.16% -0.02%
==========================================
Files 802 804 +2
Lines 14139 14185 +46
Branches 3901 3911 +10
==========================================
+ Hits 14022 14066 +44
- Misses 108 110 +2
Partials 9 9
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #3366 +/- ##
==========================================
- Coverage 99.17% 99.16% -0.02%
==========================================
Files 802 804 +2
Lines 14139 14185 +46
Branches 3901 3911 +10
==========================================
+ Hits 14022 14066 +44
- Misses 108 110 +2
Partials 9 9
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #3366 +/- ##
==========================================
- Coverage 99.17% 99.16% -0.02%
==========================================
Files 802 804 +2
Lines 14139 14185 +46
Branches 3901 3906 +5
==========================================
+ Hits 14022 14066 +44
- Misses 108 110 +2
Partials 9 9
... and 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
} | ||
}) | ||
|
||
const mockedUseFlags = useFlags as jest.Mock |
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.
I think we may need to swap these to vi.mock() similar to this
gazebo/src/pages/AnalyticsPage/Tabs/Tabs.test.tsx
Lines 21 to 22 in 01a7a7c
}) | |
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.
good catch
if ( | ||
!isUploadTokenRequiredLoading && | ||
uploadTokenRequiredData && | ||
uploadTokenRequiredData?.uploadTokenRequired !== null |
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.
nit: if we're checking for uploadTokenRequiredData I think we don't need the ? on uploadTokenRequiredData?.uploadTokenRequired
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.
}) | ||
} | ||
}, | ||
onError: () => { |
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.
weird how it says this line is uncovered when you specifically have a test for it 🤔
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.
I KNOW RIGHT
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.
i have some feedback for codecov..
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.
couple small comments but nothing blocking
Description
Hook up API work with tokenless section under org upload token tab.
depends on:
Notable Changes
Screenshots
Nothing visual changed, notification on a successful mutation is sent:
Screen.Recording.2024-10-09.at.10.53.25.AM.mov
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.