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

chore: Clean up from 2489 #3180

Merged
merged 4 commits into from
Sep 10, 2024
Merged

chore: Clean up from 2489 #3180

merged 4 commits into from
Sep 10, 2024

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR contains some clean up from codecov/engineering-team#2489, such as removing/replacing useBundleAssets with usePagedBundleAssets, and introducing a global OrderingDirection type.

Notable Changes

  • Create new OrderingDirection type on global types file and associated config tweaks to add this import alias into the codebase
    • Update use cases of 'ASC' | 'DESC' and 'DESC' | 'ASC'
  • Remove old useBundleAssets and rename usePagedBundleAssets to previous useBundleAssets
  • Update tests

@codecov-staging
Copy link

Bundle Report

Changes will decrease total bundle size by 843 bytes ⬇️

Bundle name Size Change
gazebo-staging-array-push 6.0MB 843 bytes ⬇️

@codecov-qa
Copy link

codecov-qa bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.24%. Comparing base (ca2b681) to head (9239ab0).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/services/bundleAnalysis/useBundleAssets.tsx 93.33% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3180      +/-   ##
==========================================
- Coverage   98.24%   98.24%   -0.01%     
==========================================
  Files         936      935       -1     
  Lines       14528    14491      -37     
  Branches     3965     3871      -94     
==========================================
- Hits        14273    14236      -37     
  Misses        250      250              
  Partials        5        5              
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <ø> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
src/services/commit/useCommit.tsx 100.00% <ø> (ø)
src/services/pathContents/constants.ts 100.00% <ø> (ø)
src/services/pulls/usePulls.tsx 100.00% <ø> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
src/services/repo/useRepoFlags.tsx 100.00% <ø> (ø)
src/services/bundleAnalysis/useBundleAssets.tsx 97.36% <93.33%> (-2.64%) ⬇️
Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <100.00%> (ø)
Services 99.41% <93.33%> (-0.01%) ⬇️
Shared 99.50% <ø> (ø)
UI 94.67% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca2b681...9239ab0. Read the comment docs.

@codecov-notifications
Copy link

codecov-notifications bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files Patch % Lines
src/services/bundleAnalysis/useBundleAssets.tsx 93.33% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3180      +/-   ##
==========================================
- Coverage   98.24%   98.24%   -0.01%     
==========================================
  Files         936      935       -1     
  Lines       14528    14491      -37     
  Branches     3970     3871      -99     
==========================================
- Hits        14273    14236      -37     
  Misses        250      250              
  Partials        5        5              
Files Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <ø> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
src/services/commit/useCommit.tsx 100.00% <ø> (ø)
src/services/pathContents/constants.ts 100.00% <ø> (ø)
src/services/pulls/usePulls.tsx 100.00% <ø> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
src/services/repo/useRepoFlags.tsx 100.00% <ø> (ø)
src/services/bundleAnalysis/useBundleAssets.tsx 97.36% <93.33%> (-2.64%) ⬇️
Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <100.00%> (ø)
Services 99.41% <93.33%> (-0.01%) ⬇️
Shared 99.50% <ø> (ø)
UI 94.67% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca2b681...9239ab0. Read the comment docs.

Copy link

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.24%. Comparing base (ca2b681) to head (9239ab0).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3180      +/-   ##
==========================================
- Coverage   98.24%   98.24%   -0.01%     
==========================================
  Files         936      935       -1     
  Lines       14528    14491      -37     
  Branches     3970     3954      -16     
==========================================
- Hits        14273    14236      -37     
  Misses        250      250              
  Partials        5        5              
Files Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <ø> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
src/services/commit/useCommit.tsx 100.00% <ø> (ø)
src/services/pathContents/constants.ts 100.00% <ø> (ø)
src/services/pulls/usePulls.tsx 100.00% <ø> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
src/services/repo/useRepoFlags.tsx 100.00% <ø> (ø)
src/services/bundleAnalysis/useBundleAssets.tsx 97.36% <93.33%> (-2.64%) ⬇️
Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <100.00%> (ø)
Services 99.41% <93.33%> (-0.01%) ⬇️
Shared 99.50% <ø> (ø)
UI 94.67% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca2b681...9239ab0. Read the comment docs.

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.24%. Comparing base (ca2b681) to head (9239ab0).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/services/bundleAnalysis/useBundleAssets.tsx 93.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##               main      #3180   +/-   ##
===========================================
  Coverage   98.24000   98.24000           
===========================================
  Files           936        935    -1     
  Lines         14528      14491   -37     
  Branches       3965       3959    -6     
===========================================
- Hits          14273      14236   -37     
  Misses          250        250           
  Partials          5          5           
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <ø> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
src/services/commit/useCommit.tsx 100.00% <ø> (ø)
src/services/pathContents/constants.ts 100.00% <ø> (ø)
src/services/pulls/usePulls.tsx 100.00% <ø> (ø)
src/services/repo/useRepoComponents.tsx 100.00% <ø> (ø)
src/services/repo/useRepoFlags.tsx 100.00% <ø> (ø)
src/services/bundleAnalysis/useBundleAssets.tsx 97.36% <93.33%> (-2.64%) ⬇️
Components Coverage Δ
Assets 53.48% <ø> (ø)
Layouts 98.87% <ø> (ø)
Pages 99.03% <100.00%> (ø)
Services 99.41% <93.33%> (-0.01%) ⬇️
Shared 99.50% <ø> (ø)
UI 94.67% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca2b681...9239ab0. Read the comment docs.

Copy link

codecov bot commented Sep 10, 2024

Bundle Report

Changes will decrease total bundle size by 843 bytes (-0.01%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-array-push 6.0MB 843 bytes ⬇️

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
9239ab0 Tue, 10 Sep 2024 18:07:13 GMT Cloud Enterprise

Copy link
Contributor

Choose a reason for hiding this comment

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

🙏

Copy link
Contributor

@spalmurray-codecov spalmurray-codecov left a comment

Choose a reason for hiding this comment

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

NICE

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Sep 10, 2024
Merged via the queue into main with commit 6b9e281 Sep 10, 2024
54 of 62 checks passed
@nicholas-codecov nicholas-codecov deleted the chore-gh-eng-2489-cleanup branch September 10, 2024 18:24
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