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: Migrate useIgnoredIds to TS Query V5 #3547

Merged

Conversation

nicholas-codecov
Copy link
Contributor

Description

This PR migrates the useIgnoredIds hook over to the query options API to IgnoredIdsQueryOptions

Ticket: codecov/engineering-team#2966

Notable Changes

  • Migrate useIgnoredIds to IgnoredIdsQueryOptions
  • Create/Update tests

@codecov-staging
Copy link

codecov-staging bot commented Dec 3, 2024

Bundle Report

Changes will increase total bundle size by 1.36kB (0.01%) ⬆️. This is within the configured threshold ✅

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

@codecov-notifications
Copy link

codecov-notifications bot commented Dec 3, 2024

Codecov Report

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

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 92.30% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3547   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14476    14484    +8     
  Branches     4108     4118   +10     
=======================================
+ Hits        14318    14326    +8     
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
...tailPage/CommitCoverage/UploadsCard/UploadItem.tsx 100.00% <100.00%> (ø)
...hangedTab/shared/CommitFileDiff/CommitFileDiff.tsx 97.61% <100.00%> (ø)
...rectChangesTable/CommitFileDiff/CommitFileDiff.tsx 97.67% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
...CommitDetailPage/queries/IgnoredIdsQueryOptions.ts 100.00% <100.00%> (ø)
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 97.93% <92.30%> (+0.21%) ⬆️

... and 26 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <95.45%> (+<0.01%) ⬆️
Services 99.33% <ø> (ø)
Shared 99.33% <ø> (+<0.01%) ⬆️
UI 99.14% <ø> (-0.01%) ⬇️

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 a77d790...c64ce66. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Dec 3, 2024

Codecov Report

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

Project coverage is 98.90%. Comparing base (a77d790) to head (c64ce66).
Report is 12 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 92.30% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3547   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14476    14484    +8     
  Branches     4115     4118    +3     
=======================================
+ Hits        14318    14326    +8     
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
...tailPage/CommitCoverage/UploadsCard/UploadItem.tsx 100.00% <100.00%> (ø)
...hangedTab/shared/CommitFileDiff/CommitFileDiff.tsx 97.61% <100.00%> (ø)
...rectChangesTable/CommitFileDiff/CommitFileDiff.tsx 97.67% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
...CommitDetailPage/queries/IgnoredIdsQueryOptions.ts 100.00% <100.00%> (ø)
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 97.93% <92.30%> (+0.21%) ⬆️

... and 26 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <95.45%> (+<0.01%) ⬆️
Services 99.33% <ø> (ø)
Shared 99.33% <ø> (+<0.01%) ⬆️
UI 99.14% <ø> (-0.01%) ⬇️

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 a77d790...c64ce66. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Dec 3, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
06d29e5 Tue, 03 Dec 2024 17:27:42 GMT Expired Expired
49a08d5 Fri, 06 Dec 2024 18:26:41 GMT Expired Expired
c64ce66 Fri, 06 Dec 2024 18:49:14 GMT Cloud Enterprise

Copy link

codecov bot commented Dec 3, 2024

Bundle Report

Changes will increase total bundle size by 1.36kB (0.01%) ⬆️. This is within the configured threshold ✅

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

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

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

Project coverage is 98.90%. Comparing base (a77d790) to head (c64ce66).
Report is 12 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 92.30% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3547   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14476    14484    +8     
  Branches     4115     4111    -4     
=======================================
+ Hits        14318    14326    +8     
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
...tailPage/CommitCoverage/UploadsCard/UploadItem.tsx 100.00% <100.00%> (ø)
...hangedTab/shared/CommitFileDiff/CommitFileDiff.tsx 97.61% <100.00%> (ø)
...rectChangesTable/CommitFileDiff/CommitFileDiff.tsx 97.67% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
...CommitDetailPage/queries/IgnoredIdsQueryOptions.ts 100.00% <100.00%> (ø)
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 97.93% <92.30%> (+0.21%) ⬆️

... and 26 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <95.45%> (+<0.01%) ⬆️
Services 99.33% <ø> (ø)
Shared 99.33% <ø> (+<0.01%) ⬆️
UI 99.14% <ø> (-0.01%) ⬇️

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 a77d790...c64ce66. Read the comment docs.

@nicholas-codecov nicholas-codecov added this pull request to the merge queue Dec 6, 2024
@nicholas-codecov nicholas-codecov removed this pull request from the merge queue due to a manual request Dec 6, 2024
@nicholas-codecov nicholas-codecov added this pull request to the merge queue Dec 9, 2024
Merged via the queue into main with commit b4e0043 Dec 9, 2024
53 of 62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-2966-chore-migrate-useIgnoreIds-to-tsqv5 branch December 9, 2024 13:59
Copy link

Codecov Report

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

Project coverage is 98.90%. Comparing base (a77d790) to head (c64ce66).
Report is 12 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 92.30% 1 Missing ⚠️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3547   +/-   ##
=======================================
  Coverage   98.90%   98.90%           
=======================================
  Files         806      806           
  Lines       14476    14484    +8     
  Branches     4115     4111    -4     
=======================================
+ Hits        14318    14326    +8     
  Misses        151      151           
  Partials        7        7           
Files with missing lines Coverage Δ
...tailPage/CommitCoverage/UploadsCard/UploadItem.tsx 100.00% <100.00%> (ø)
...hangedTab/shared/CommitFileDiff/CommitFileDiff.tsx 97.61% <100.00%> (ø)
...rectChangesTable/CommitFileDiff/CommitFileDiff.tsx 97.67% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
...CommitDetailPage/queries/IgnoredIdsQueryOptions.ts 100.00% <100.00%> (ø)
...ailPage/CommitCoverage/UploadsCard/UploadsCard.tsx 97.93% <92.30%> (+0.21%) ⬆️

... and 26 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.59% <95.45%> (+<0.01%) ⬆️
Services 99.33% <ø> (ø)
Shared 99.33% <ø> (+<0.01%) ⬆️
UI 99.14% <ø> (-0.01%) ⬇️

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 a77d790...c64ce66. Read the comment docs.

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