gazebo icon indicating copy to clipboard operation
gazebo copied to clipboard

fix: Combine api calls in commits tab

Open suejung-sentry opened this issue 7 months ago • 8 comments

Closes https://github.com/codecov/internal-issues/issues/1315

suejung-sentry avatar Apr 08 '25 17:04 suejung-sentry

Bundle Report

Changes will decrease total bundle size by 4.66kB (-0.04%) :arrow_down:. This is within the configured threshold :white_check_mark:

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

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

codecov[bot] avatar Apr 08 '25 17:04 codecov[bot]

:x: 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:60
 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12
 ❯ checkCallback node_modules/@.../dom/dist/wait-for.js:124:77
 ❯ node_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[bot] avatar Apr 08 '25 17:04 codecov[bot]

:x: 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:60
 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12
 ❯ checkCallback node_modules/@.../dom/dist/wait-for.js:124:77
 ❯ node_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[bot] avatar Apr 08 '25 17:04 codecov-staging[bot]

:white_check_mark: Sentry found no issues in your recent changes :white_check_mark:

seer-by-sentry[bot] avatar Apr 08 '25 17:04 seer-by-sentry[bot]

:x: 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:60
 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12
 ❯ checkCallback node_modules/@.../dom/dist/wait-for.js:124:77
 ❯ node_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-qa[bot] avatar Apr 08 '25 17:04 codecov-qa[bot]

:x: 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:60
 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@.../dom/dist/config.js:47:12
 ❯ checkCallback node_modules/@.../dom/dist/wait-for.js:124:77
 ❯ node_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-public-qa[bot] avatar Apr 08 '25 17:04 codecov-public-qa[bot]

Bundle Report

Changes will decrease total bundle size by 4.66kB (-0.04%) :arrow_down:. This is within the configured threshold :white_check_mark:

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

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% :warning:
assets/index.*.js 2.72kB 8.58kB 46.46% :warning:
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-staging[bot] avatar Apr 08 '25 17:04 codecov-staging[bot]

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

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

codecov-releaser avatar Apr 08 '25 17:04 codecov-releaser