-
Notifications
You must be signed in to change notification settings - Fork 26
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
ref: Migrate useReposCoverageMeasurements to TSQ V5 #3712
ref: Migrate useReposCoverageMeasurements to TSQ V5 #3712
Conversation
Bundle ReportChanges will decrease total bundle size by 264 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-production-systemAssets Changed:
Files in
view changes for bundle: gazebo-production-esmAssets Changed:
Files in
|
Bundle ReportChanges will decrease total bundle size by 264 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-staging-esmAssets Changed:
Files in
view changes for bundle: gazebo-staging-systemAssets Changed:
Files in
|
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 #3712 +/- ##
==========================================
- Coverage 98.84% 98.84% -0.01%
==========================================
Files 826 826
Lines 14865 14862 -3
Branches 4231 4221 -10
==========================================
- Hits 14694 14691 -3
Misses 165 165
Partials 6 6
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3712 +/- ##
==========================================
- Coverage 98.84% 98.84% -0.01%
==========================================
Files 826 826
Lines 14865 14862 -3
Branches 4223 4221 -2
==========================================
- Hits 14694 14691 -3
Misses 165 165
Partials 6 6
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3712 +/- ##
==========================================
- Coverage 98.84% 98.84% -0.01%
==========================================
Files 826 826
Lines 14865 14862 -3
Branches 4223 4229 +6
==========================================
- Hits 14694 14691 -3
Misses 165 165
Partials 6 6
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3712 +/- ##
==========================================
- Coverage 98.84% 98.84% -0.01%
==========================================
Files 826 826
Lines 14865 14862 -3
Branches 4231 4221 -10
==========================================
- Hits 14694 14691 -3
Misses 165 165
Partials 6 6
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
suspense?: boolean | ||
keepPreviousData?: boolean | ||
opts?: { | ||
keepPrevious?: boolean | ||
} | ||
} | ||
|
||
export const useCoverage = ({ |
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.
Does this really need its own hook/file? Guess it's a lot of code to repeat if we do call it in multiple places.
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.
Uhh ... i mean we cooooould probably get rid of it, buuuut I'd rather avoid the scope creep for this PR.
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.
acceptable answer 👍
Description
This PR migrates the
useReposCoverageMeasurements
over to the query options versionReposCoverageMeasurementsQueryOpts
.Ticket: codecov/engineering-team#3165
Notable Changes
useReposCoverageMeasurements
toReposCoverageMeasurementsQueryOpts
useCoverage
Chart.tsx