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: Add in CachedBundlesQueryOpts #3644

Conversation

nicholas-codecov
Copy link
Contributor

@nicholas-codecov nicholas-codecov commented Jan 9, 2025

Description

This PR adds in a new query that is used to collect the list of bundles and their cache status for the future modal to configure bundle caching settings.

Closes: codecov/engineering-team#3155

Notable Changes

  • Create CachedBundlesQueryOpts
  • Add in tests

@codecov-staging
Copy link

Bundle Report

Bundle size has no change ✅

@codecov-qa
Copy link

codecov-qa bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (220ea57).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3644   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      813    +1     
  Lines       14580    14605   +25     
  Branches     4146     4143    -3     
=======================================
+ Hits        14427    14452   +25     
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...services/bundleAnalysis/CachedBundlesQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <ø> (ø)
Services 99.34% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
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 0922fa3...220ea57. Read the comment docs.

Copy link

codecov-public-qa bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (220ea57).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3644   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      813    +1     
  Lines       14580    14605   +25     
  Branches     4146     4150    +4     
=======================================
+ Hits        14427    14452   +25     
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...services/bundleAnalysis/CachedBundlesQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <ø> (ø)
Services 99.34% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
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 0922fa3...220ea57. Read the comment docs.

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (220ea57).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3644   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      813    +1     
  Lines       14580    14605   +25     
  Branches     4139     4143    +4     
=======================================
+ Hits        14427    14452   +25     
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...services/bundleAnalysis/CachedBundlesQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <ø> (ø)
Services 99.34% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
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 0922fa3...220ea57. Read the comment docs.

@codecov-notifications
Copy link

codecov-notifications bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3644   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      813    +1     
  Lines       14580    14605   +25     
  Branches     4139     4150   +11     
=======================================
+ Hits        14427    14452   +25     
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...services/bundleAnalysis/CachedBundlesQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <ø> (ø)
Services 99.34% <100.00%> (+<0.01%) ⬆️
Shared 99.37% <ø> (ø)
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 0922fa3...220ea57. Read the comment docs.

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
220ea57 Thu, 09 Jan 2025 15:19:26 GMT Cloud Enterprise

Copy link

codecov bot commented Jan 9, 2025

Bundle Report

Bundle size has no change ✅

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Jan 9, 2025
Merged via the queue into main with commit ac9e926 Jan 9, 2025
62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-3156-add-in-query-to-fetch-list-of-bundles-and-their-cache-status branch January 9, 2025 18:57
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] Create Service to Fetch a List of Bundles and Their Cache Status
3 participants