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

ref: Migrate useRepoConfigurationStatus to TS Query V5 #3618

Merged

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR migrates the useRepoConfigurationStatus to the TS Query queryOptions version RepoConfigurationStatusQueryOpts.

Ticket: codecov/engineering-team#2967

Notable Changes

  • Migrate useRepoConfigurationStatus to RepoConfigurationStatusQueryOpts.
  • Update usage in ConfigurationManager
  • Update tests

@codecov-staging
Copy link

codecov-staging bot commented Dec 31, 2024

Bundle Report

Changes will increase total bundle size by 6.14MB (50.87%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
gazebo-staging-array-push* 6.14MB 6.14MB (100%) ⬆️⚠️
gazebo-staging-system-esm 6.06MB 17 bytes (0.0%) ⬆️
gazebo-staging-system 6.0MB 15 bytes (0.0%) ⬆️

ℹ️ *Bundle size includes cached data from a previous commit

Copy link

codecov bot commented Dec 31, 2024

Bundle Report

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

Detailed changes
Bundle name Size Change
gazebo-production-system 6.0MB 15 bytes (0.0%) ⬆️
gazebo-production-system-esm 6.06MB 17 bytes (0.0%) ⬆️

@codecov-qa
Copy link

codecov-qa bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (1d4e90c).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3618   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      812           
  Lines       14580    14580           
  Branches     4146     4146           
=======================================
  Hits        14427    14427           
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...tabs/ConfigurationManager/ConfigurationManager.tsx 100.00% <100.00%> (ø)
...urationStatus/RepoConfigurationStatusQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <100.00%> (ø)
Services 99.33% <ø> (ø)
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...1d4e90c. Read the comment docs.

@codecov-notifications
Copy link

codecov-notifications bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3618   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      812           
  Lines       14580    14580           
  Branches     4139     4139           
=======================================
  Hits        14427    14427           
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...tabs/ConfigurationManager/ConfigurationManager.tsx 100.00% <100.00%> (ø)
...urationStatus/RepoConfigurationStatusQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <100.00%> (ø)
Services 99.33% <ø> (ø)
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...1d4e90c. Read the comment docs.

Copy link

codecov-public-qa bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (1d4e90c).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3618   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      812           
  Lines       14580    14580           
  Branches     4146     4139    -7     
=======================================
  Hits        14427    14427           
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...tabs/ConfigurationManager/ConfigurationManager.tsx 100.00% <100.00%> (ø)
...urationStatus/RepoConfigurationStatusQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <100.00%> (ø)
Services 99.33% <ø> (ø)
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...1d4e90c. Read the comment docs.

Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.95%. Comparing base (0922fa3) to head (1d4e90c).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3618   +/-   ##
=======================================
  Coverage   98.95%   98.95%           
=======================================
  Files         812      812           
  Lines       14580    14580           
  Branches     4139     4139           
=======================================
  Hits        14427    14427           
  Misses        146      146           
  Partials        7        7           
Files with missing lines Coverage Δ
...tabs/ConfigurationManager/ConfigurationManager.tsx 100.00% <100.00%> (ø)
...urationStatus/RepoConfigurationStatusQueryOpts.tsx 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.66% <100.00%> (ø)
Services 99.33% <ø> (ø)
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...1d4e90c. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Dec 31, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
6e69b21 Tue, 31 Dec 2024 18:48:39 GMT Expired Expired
77f580a Tue, 07 Jan 2025 12:00:10 GMT Expired Expired
1d4e90c Thu, 09 Jan 2025 15:23:29 GMT Cloud Enterprise

@aj-codecov
Copy link
Contributor

@codecov-ai-reviewer review

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Jan 9, 2025
Merged via the queue into main with commit 382246a Jan 9, 2025
62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-2967-ref-useRepoConfigurationStatus-to-tsqv5 branch January 9, 2025 15:33
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.

4 participants