Skip to content

ref: Migrate useRevokeUserToken to TSQ V5 #3719

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

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

nicholas-codecov
Copy link
Contributor

Description

Note

Requires #3715

This PR migrates the useRevokeUserToken to TSQ V5.

Ticket: codecov/engineering-team#3165

Notable Changes

  • Migrate useRevokeUserToken to TSQ V5
  • Update usage in TokensTable
  • Update tests

@codecov-staging
Copy link

codecov-staging bot commented Feb 10, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.23MB 98 bytes (0.0%) ⬆️
gazebo-staging-esm 6.28MB 92 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 92 bytes 9.52kB 0.98%
assets/downshift.*.B4KHiG9Y02UcgyaYNwKpL.js (New) 27.75kB 27.75kB 100.0% 🚀
assets/downshift.*.BA3MRRirS6e0OkvnNlDCz.js (Deleted) -27.75kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/services/access/useRevokeUserToken.ts → Total Size: 650 bytes

  • ./src/pages/AccountSettings/tabs/Access/TokensTable.tsx → Total Size: 3.16kB

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 98 bytes 9.4kB 1.05%

Files in assets/index-legacy.*.js:

  • ./src/pages/AccountSettings/tabs/Access/TokensTable.tsx → Total Size: 3.16kB

  • ./src/services/access/useRevokeUserToken.ts → Total Size: 650 bytes

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (5b09b7e) to head (e97cf2f).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3719   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14867           
  Branches     4229     4221    -8     
=======================================
  Hits        14695    14695           
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
.../pages/AccountSettings/tabs/Access/TokensTable.tsx 100.00% <ø> (ø)
src/services/access/useRevokeUserToken.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (ø)
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

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 5b09b7e...e97cf2f. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (5b09b7e) to head (e97cf2f).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3719   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14867           
  Branches     4229     4229           
=======================================
  Hits        14695    14695           
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
.../pages/AccountSettings/tabs/Access/TokensTable.tsx 100.00% <ø> (ø)
src/services/access/useRevokeUserToken.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (ø)
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

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 5b09b7e...e97cf2f. Read the comment docs.

Copy link

codecov bot commented Feb 10, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
gazebo-production-system 6.23MB 98 bytes (0.0%) ⬆️
gazebo-production-esm 6.28MB 92 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 92 bytes 9.52kB 0.98%
assets/downshift.*.B4KHiG9Y02UcgyaYNwKpL.js (New) 27.75kB 27.75kB 100.0% 🚀
assets/downshift.*.BA3MRRirS6e0OkvnNlDCz.js (Deleted) -27.75kB 0 bytes -100.0% 🗑️

Files in assets/index.*.js:

  • ./src/services/access/useRevokeUserToken.ts → Total Size: 650 bytes

  • ./src/pages/AccountSettings/tabs/Access/TokensTable.tsx → Total Size: 3.16kB

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 98 bytes 9.4kB 1.05%

Files in assets/index-legacy.*.js:

  • ./src/pages/AccountSettings/tabs/Access/TokensTable.tsx → Total Size: 3.16kB

  • ./src/services/access/useRevokeUserToken.ts → Total Size: 650 bytes

@codecov-notifications
Copy link

codecov-notifications bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3719   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14867           
  Branches     4229     4221    -8     
=======================================
  Hits        14695    14695           
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
.../pages/AccountSettings/tabs/Access/TokensTable.tsx 100.00% <ø> (ø)
src/services/access/useRevokeUserToken.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (ø)
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

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 5b09b7e...e97cf2f. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Feb 10, 2025

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
5ea1987 Mon, 10 Feb 2025 18:14:47 GMT Expired Expired
b44c3b9 Mon, 10 Feb 2025 19:19:50 GMT Expired Expired
31d2524 Tue, 11 Feb 2025 11:34:02 GMT Expired Expired
e97cf2f Tue, 11 Feb 2025 13:33:32 GMT Cloud Enterprise

Copy link

codecov-public-qa bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (5b09b7e) to head (e97cf2f).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3719   +/-   ##
=======================================
  Coverage   98.84%   98.84%           
=======================================
  Files         826      826           
  Lines       14867    14867           
  Branches     4229     4221    -8     
=======================================
  Hits        14695    14695           
  Misses        166      166           
  Partials        6        6           
Files with missing lines Coverage Δ
.../pages/AccountSettings/tabs/Access/TokensTable.tsx 100.00% <ø> (ø)
src/services/access/useRevokeUserToken.ts 100.00% <100.00%> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (ø)
Pages 98.51% <ø> (ø)
Services 99.24% <100.00%> (ø)
Shared 99.37% <ø> (ø)
UI 99.07% <ø> (ø)

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 5b09b7e...e97cf2f. Read the comment docs.

@nicholas-codecov nicholas-codecov force-pushed the gh-eng-3165-ref-useRevokeUserToken-to-tsqv5 branch from b44c3b9 to 31d2524 Compare February 11, 2025 11:28
@nicholas-codecov nicholas-codecov added this pull request to the merge queue Feb 12, 2025
Merged via the queue into main with commit 31694a5 Feb 12, 2025
62 checks passed
@nicholas-codecov nicholas-codecov deleted the gh-eng-3165-ref-useRevokeUserToken-to-tsqv5 branch February 12, 2025 11:50
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