Skip to content

fix: Combine api calls in commits tab #3837

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

suejung-sentry
Copy link
Contributor

@suejung-sentry suejung-sentry commented Apr 8, 2025

Copy link

codecov bot commented Apr 8, 2025

Bundle Report

Changes will decrease total bundle size by 4.66kB (-0.04%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.21MB -2.23kB (-0.04%) ⬇️
gazebo-production-esm 6.29MB -2.43kB (-0.04%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-production-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js -1.46kB 9.91kB -12.81%
assets/index.*.js -963 bytes 11.37kB -7.81%
assets/useBranch.*.js -12 bytes 1.89kB -0.63%

Files in assets/index.*.js:

  • ./src/pages/RepoPage/CommitsTab/hooks/useCommitsTabBranchSelector.ts → Total Size: 1.28kB

  • ./src/pages/RepoPage/CommitsTab/CommitsTab.jsx → Total Size: 5.3kB

view changes for bundle: gazebo-production-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js -2.22kB 9.21kB -19.41%
assets/useBranch-legacy.*.js -7 bytes 1.79kB -0.39%

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

  • ./src/pages/RepoPage/CommitsTab/CommitsTab.jsx → Total Size: 5.3kB

  • ./src/pages/RepoPage/CommitsTab/hooks/useCommitsTabBranchSelector.ts → Total Size: 1.28kB

Copy link

codecov bot commented Apr 8, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1216 1 1215 0
View the top 1 failed test(s) by shortest run time
src/shared/GlobalTopBanners/TrialBanner/TrialBanner.test.tsx > TrialBanner > owner does not belong to org > renders nothing
Stack Traces | 0.0345s run time
AssertionError: expected 1 to be +0 // Object.is equality

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div />
  </body>
</html>

- Expected
+ Received

- 0
+ 1

 ❯ .../GlobalTopBanners/TrialBanner/TrialBanner.test.tsx:249:60runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12checkCallback node_modules/@.../dom/dist/wait-for.js:124:77node_modules/@.../dom/dist/wait-for.js:82:9

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov-staging
Copy link

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1216 1 1215 0
View the top 1 failed test(s) by shortest run time
src/shared/GlobalTopBanners/TrialBanner/TrialBanner.test.tsx > TrialBanner > owner does not belong to org > renders nothing
Stack Traces | 0.0345s run time
AssertionError: expected 1 to be +0 // Object.is equality

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div />
  </body>
</html>

- Expected
+ Received

- 0
+ 1

 ❯ .../GlobalTopBanners/TrialBanner/TrialBanner.test.tsx:249:60runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12checkCallback node_modules/@.../dom/dist/wait-for.js:124:77node_modules/@.../dom/dist/wait-for.js:82:9

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Copy link
Contributor

sentry-autofix bot commented Apr 8, 2025

✅ Sentry found no issues in your recent changes ✅

@codecov-qa
Copy link

codecov-qa bot commented Apr 8, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1216 1 1215 0
View the top 1 failed test(s) by shortest run time
src/shared/GlobalTopBanners/TrialBanner/TrialBanner.test.tsx > TrialBanner > owner does not belong to org > renders nothing
Stack Traces | 0.0345s run time
AssertionError: expected 1 to be +0 // Object.is equality

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div />
  </body>
</html>

- Expected
+ Received

- 0
+ 1

 ❯ .../GlobalTopBanners/TrialBanner/TrialBanner.test.tsx:249:60runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12checkCallback node_modules/@.../dom/dist/wait-for.js:124:77node_modules/@.../dom/dist/wait-for.js:82:9

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Copy link

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1216 1 1215 0
View the top 1 failed test(s) by shortest run time
src/shared/GlobalTopBanners/TrialBanner/TrialBanner.test.tsx > TrialBanner > owner does not belong to org > renders nothing
Stack Traces | 0.0345s run time
AssertionError: expected 1 to be +0 // Object.is equality

Ignored nodes: comments, script, style
<html>
  <head />
  <body>
    <div />
  </body>
</html>

- Expected
+ Received

- 0
+ 1

 ❯ .../GlobalTopBanners/TrialBanner/TrialBanner.test.tsx:249:60runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12checkCallback node_modules/@.../dom/dist/wait-for.js:124:77node_modules/@.../dom/dist/wait-for.js:82:9

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov-staging
Copy link

codecov-staging bot commented Apr 8, 2025

Bundle Report

Changes will decrease total bundle size by 4.66kB (-0.04%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.21MB -2.23kB (-0.04%) ⬇️
gazebo-staging-esm 6.29MB -2.43kB (-0.04%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: gazebo-staging-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index.*.js 1.33kB 9.91kB 15.56% ⚠️
assets/index.*.js 2.72kB 8.58kB 46.46% ⚠️
assets/index.*.js -6.47kB 5.86kB -52.51%
assets/useBranch.*.js -12 bytes 1.89kB -0.63%

Files in assets/index.*.js:

  • ./src/pages/RepoPage/CommitsTab/hooks/useCommitsTabBranchSelector.ts → Total Size: 1.28kB

  • ./src/pages/RepoPage/CommitsTab/CommitsTab.jsx → Total Size: 5.3kB

view changes for bundle: gazebo-staging-system

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-legacy.*.js -246 bytes 9.21kB -2.6%
assets/index-legacy.*.js -1.97kB 9.46kB -17.26%
assets/useBranch-legacy.*.js -7 bytes 1.79kB -0.39%

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

  • ./src/pages/RepoPage/CommitsTab/CommitsTab.jsx → Total Size: 5.3kB

  • ./src/pages/RepoPage/CommitsTab/hooks/useCommitsTabBranchSelector.ts → Total Size: 1.28kB

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
b5313d2 Tue, 08 Apr 2025 17:15:18 GMT Cloud Enterprise

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.

2 participants