Skip to content

Pass the owner along to the eraseRepository mutation #3741

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 1 commit into from
Feb 14, 2025

Conversation

Swatinem
Copy link
Contributor

Interestingly enough, the owner was already being passed an one of the mutation variables, but that was not being used to pass along to the eraseRepository mutation within the graphql query.

This is being done now, and the mutation is being triggered with that input field.


Depends on codecov/codecov-api#1156 which adds this new input field.

Interestingly enough, the `owner` was already being passed an one of the mutation `variables`, but that was not being used to pass along to the `eraseRepository` mutation within the graphql query.

This is being done now, and the mutation is being triggered with that input field.
@Swatinem Swatinem self-assigned this Feb 14, 2025
@codecov-staging
Copy link

codecov-staging bot commented Feb 14, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.26MB 32 bytes (0.0%) ⬆️
gazebo-staging-esm 6.31MB 32 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 32 bytes 21.57kB 0.15%

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

  • ./src/services/repo/useEraseRepoContent.tsx → Total Size: 1.41kB
view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 32 bytes 22.15kB 0.14%

Files in assets/index.*.js:

  • ./src/services/repo/useEraseRepoContent.tsx → Total Size: 1.41kB

Copy link

codecov bot commented Feb 14, 2025

Bundle Report

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

Detailed changes
Bundle name Size Change
gazebo-production-system 6.26MB 32 bytes (0.0%) ⬆️
gazebo-production-esm 6.31MB 32 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 32 bytes 22.15kB 0.14%

Files in assets/index.*.js:

  • ./src/services/repo/useEraseRepoContent.tsx → Total Size: 1.41kB
view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js 32 bytes 21.57kB 0.15%

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

  • ./src/services/repo/useEraseRepoContent.tsx → Total Size: 1.41kB

@codecov-notifications
Copy link

codecov-notifications bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3741      +/-   ##
==========================================
+ Coverage   98.81%   98.84%   +0.03%     
==========================================
  Files         825      823       -2     
  Lines       14892    14863      -29     
  Branches     4233     4229       -4     
==========================================
- Hits        14716    14692      -24     
+ Misses        167      165       -2     
+ Partials        9        6       -3     
Files with missing lines Coverage Δ
src/services/repo/useEraseRepoContent.tsx 100.00% <ø> (ø)

... and 96 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (-0.02%) ⬇️
Pages 98.52% <ø> (+0.09%) ⬆️
Services 99.24% <ø> (-0.07%) ⬇️
Shared 99.37% <ø> (-0.01%) ⬇️
UI 99.07% <ø> (-0.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 6e46954...5e8678e. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (6e46954) to head (5e8678e).
Report is 48 commits behind head on main.

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3741      +/-   ##
==========================================
+ Coverage   98.81%   98.84%   +0.03%     
==========================================
  Files         825      823       -2     
  Lines       14892    14863      -29     
  Branches     4233     4221      -12     
==========================================
- Hits        14716    14692      -24     
+ Misses        167      165       -2     
+ Partials        9        6       -3     
Files with missing lines Coverage Δ
src/services/repo/useEraseRepoContent.tsx 100.00% <ø> (ø)

... and 96 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (-0.02%) ⬇️
Pages 98.52% <ø> (+0.09%) ⬆️
Services 99.24% <ø> (-0.07%) ⬇️
Shared 99.37% <ø> (-0.01%) ⬇️
UI 99.07% <ø> (-0.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 6e46954...5e8678e. Read the comment docs.

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.84%. Comparing base (6e46954) to head (5e8678e).
Report is 48 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3741      +/-   ##
==========================================
+ Coverage   98.81%   98.84%   +0.03%     
==========================================
  Files         825      823       -2     
  Lines       14892    14863      -29     
  Branches     4233     4229       -4     
==========================================
- Hits        14716    14692      -24     
+ Misses        167      165       -2     
+ Partials        9        6       -3     
Files with missing lines Coverage Δ
src/services/repo/useEraseRepoContent.tsx 100.00% <ø> (ø)

... and 96 files with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <ø> (-0.02%) ⬇️
Pages 98.52% <ø> (+0.09%) ⬆️
Services 99.24% <ø> (-0.07%) ⬇️
Shared 99.37% <ø> (-0.01%) ⬇️
UI 99.07% <ø> (-0.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 6e46954...5e8678e. 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
5e8678e Fri, 14 Feb 2025 11:46:26 GMT Cloud Enterprise

@Swatinem Swatinem added this pull request to the merge queue Feb 14, 2025
Merged via the queue into main with commit dc8214a Feb 14, 2025
62 checks passed
@Swatinem Swatinem deleted the swatinem/owner-erase-repository branch February 14, 2025 16:36
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.

3 participants