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

feat: Grab the plugin name for the given bundle #3535

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR updates the query options for grabbing a list of assets used to display the asset table, so that we can determine if we want to render the new path column in the asset table

Closes codecov/engineering-team#2957

Notable Changes

  • Grab plugin name in assets table query options
    • also updated to be the TSQ V5 style we're moving to
  • Update useBundleAssetsTable
  • Update tests

Copy link

codecov bot commented Nov 28, 2024

Bundle Report

Changes will increase total bundle size by 388 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 5.67MB 81 bytes (0.0%) ⬆️
gazebo-production-system-esm 5.72MB 307 bytes (0.01%) ⬆️

@codecov-staging
Copy link

codecov-staging bot commented Nov 28, 2024

Bundle Report

Changes will increase total bundle size by 388 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system-esm 5.72MB 307 bytes (0.01%) ⬆️
gazebo-staging-system 5.67MB 81 bytes (0.0%) ⬆️

@codecov-notifications
Copy link

codecov-notifications bot commented Nov 28, 2024

Codecov Report

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

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 80.00% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3535   +/-   ##
=======================================
  Coverage   98.90%   98.91%           
=======================================
  Files         806      806           
  Lines       14485    14484    -1     
  Branches     4116     4108    -8     
=======================================
  Hits        14327    14327           
+ Misses        151      150    -1     
  Partials        7        7           
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <100.00%> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 97.29% <80.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.36% <80.00%> (+0.03%) ⬆️
Shared 99.33% <ø> (ø)
UI 99.14% <ø> (ø)

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 617411d...06e670d. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Nov 28, 2024

Codecov Report

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

Project coverage is 98.91%. Comparing base (617411d) to head (06e670d).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 80.00% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3535   +/-   ##
=======================================
  Coverage   98.90%   98.91%           
=======================================
  Files         806      806           
  Lines       14485    14484    -1     
  Branches     4116     4115    -1     
=======================================
  Hits        14327    14327           
+ Misses        151      150    -1     
  Partials        7        7           
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <100.00%> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 97.29% <80.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.36% <80.00%> (+0.03%) ⬆️
Shared 99.33% <ø> (ø)
UI 99.14% <ø> (ø)

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 617411d...06e670d. Read the comment docs.

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

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

Project coverage is 98.91%. Comparing base (617411d) to head (06e670d).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

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

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3535   +/-   ##
=======================================
  Coverage   98.90%   98.91%           
=======================================
  Files         806      806           
  Lines       14485    14484    -1     
  Branches     4116     4115    -1     
=======================================
  Hits        14327    14327           
+ Misses        151      150    -1     
  Partials        7        7           
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <100.00%> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 97.29% <80.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.36% <80.00%> (+0.03%) ⬆️
Shared 99.33% <ø> (ø)
UI 99.14% <ø> (ø)

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 617411d...06e670d. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Nov 28, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
bd44b3a Thu, 28 Nov 2024 15:06:18 GMT Expired Expired
55a3612 Fri, 06 Dec 2024 11:25:06 GMT Expired Expired
7caad44 Mon, 09 Dec 2024 15:33:40 GMT Expired Expired
06e670d Thu, 12 Dec 2024 16:21:44 GMT Cloud Enterprise

@nicholas-codecov nicholas-codecov force-pushed the gh-eng-2957-grab-the-bundle-framework-in-branch-bundle-summary branch from bd44b3a to 55a3612 Compare December 6, 2024 11:19
@nicholas-codecov nicholas-codecov marked this pull request as ready for review December 6, 2024 11:19
@nicholas-codecov nicholas-codecov force-pushed the gh-eng-2957-grab-the-bundle-framework-in-branch-bundle-summary branch from 55a3612 to 7caad44 Compare December 9, 2024 15:27
@@ -54,21 +55,23 @@ export function useBundleAssetsTable({
}
}, [overview?.oldestCommitAt, today, trend])

return useBundleAssets({
Copy link
Contributor

Choose a reason for hiding this comment

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

i like this change

@nicholas-codecov nicholas-codecov force-pushed the gh-eng-2957-grab-the-bundle-framework-in-branch-bundle-summary branch from 7caad44 to 06e670d Compare December 12, 2024 16:16
Copy link

codecov-public-qa bot commented Dec 12, 2024

Codecov Report

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

Project coverage is 98.91%. Comparing base (617411d) to head (06e670d).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 80.00% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3535   +/-   ##
=======================================
  Coverage   98.90%   98.91%           
=======================================
  Files         806      806           
  Lines       14485    14484    -1     
  Branches     4109     4108    -1     
=======================================
  Hits        14327    14327           
+ Misses        151      150    -1     
  Partials        7        7           
Files with missing lines Coverage Δ
...ndlesTab/BundleContent/AssetsTable/AssetsTable.tsx 100.00% <100.00%> (ø)
.../BundleContent/AssetsTable/useBundleAssetsTable.ts 100.00% <100.00%> (ø)
.../services/bundleAnalysis/BundleAssetsQueryOpts.tsx 97.29% <80.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <100.00%> (ø)
Services 99.36% <80.00%> (+0.03%) ⬆️
Shared 99.33% <ø> (ø)
UI 99.14% <ø> (ø)

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 617411d...06e670d. Read the comment docs.

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Dec 12, 2024
Merged via the queue into main with commit ad05f89 Dec 12, 2024
54 of 62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-2957-grab-the-bundle-framework-in-branch-bundle-summary branch December 12, 2024 16:25
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.

[UI] Grab plugin name for a given bundle
3 participants