Skip to content

chore: add react-externals to bundle size analysis#2385

Merged
colinaaa merged 1 commit intomainfrom
chore/react-externals-bundle-size
Mar 26, 2026
Merged

chore: add react-externals to bundle size analysis#2385
colinaaa merged 1 commit intomainfrom
chore/react-externals-bundle-size

Conversation

@upupming
Copy link
Copy Markdown
Collaborator

@upupming upupming commented Mar 26, 2026

Summary by CodeRabbit

  • Chores
    • Added an example project to continuous integration and bundle-analysis pipelines so its build and metrics are now included in automated checks and artifact uploads.
  • Documentation
    • Added a placeholder release metadata file to the repository for future release notes or changelog entries.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 26, 2026

🦋 Changeset detected

Latest commit: 2319bb1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 26, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 63023164-d8f3-459f-964f-1a4588d0cf67

📥 Commits

Reviewing files that changed from the base of the PR and between 8f1f0a0 and 2319bb1.

📒 Files selected for processing (3)
  • .changeset/warm-kings-help.md
  • .github/workflows/relative-ci.yml
  • .github/workflows/workflow-bundle-analysis.yml
✅ Files skipped from review due to trivial changes (2)
  • .github/workflows/workflow-bundle-analysis.yml
  • .changeset/warm-kings-help.md

📝 Walkthrough

Walkthrough

Added an empty changeset file and updated two GitHub Actions workflow matrices to include the ./examples/react-externals project for relative CI uploads and bundle analysis artifact collection.

Changes

Cohort / File(s) Summary
Changeset
​.changeset/warm-kings-help.md
Added a new changeset file containing only an empty Markdown frontmatter block.
CI: relative-ci workflow
.github/workflows/relative-ci.yml
Added ./examples/react-externals to upload.strategy.matrix.project and introduced the corresponding job env mapping for its secret key.
CI: bundle-analysis workflow
.github/workflows/workflow-bundle-analysis.yml
Added ./examples/react-externals to the build job matrix so bundle analysis and artifact upload run for that example.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • colinaaa
  • luhc228

Poem

🐰 I hopped a change into the tree,
A tiny file and CI spree,
React externals join the race,
Artifacts uploaded, taking place,
Small ears twitch—CI's set free.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: adding react-externals project to bundle size analysis workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/react-externals-bundle-size

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f1f0a064c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/relative-ci.yml
@upupming upupming force-pushed the chore/react-externals-bundle-size branch from 8f1f0a0 to 2319bb1 Compare March 26, 2026 11:57
Comment thread .github/workflows/relative-ci.yml Dismissed
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 26, 2026

Merging this PR will degrade performance by 21.16%

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 61 untouched benchmarks
⏩ 21 skipped benchmarks1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
002-hello-reactLynx-destroyBackground 678.8 µs 861 µs -21.16%
transform 1000 view elements 47.3 ms 40.4 ms +17.03%

Comparing chore/react-externals-bundle-size (2319bb1) with main (dae9fed)

Open in CodSpeed

Footnotes

  1. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@relativeci
Copy link
Copy Markdown

relativeci bot commented Mar 26, 2026

Web Explorer

#8455 Bundle Size — 727.89KiB (0%).

2319bb1(current) vs dae9fed main#8447(baseline)

Bundle metrics  Change 2 changes
                 Current
#8455
     Baseline
#8447
No change  Initial JS 42.62KiB 42.62KiB
No change  Initial CSS 2.16KiB 2.16KiB
Change  Cache Invalidation 0% 9.64%
No change  Chunks 8 8
No change  Assets 10 10
Change  Modules 147(-2%) 150
No change  Duplicate Modules 11 11
Change  Duplicate Code 34.75%(+0.09%) 34.72%
No change  Packages 3 3
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#8455
     Baseline
#8447
No change  Other 384.4KiB 384.4KiB
No change  JS 341.33KiB 341.33KiB
No change  CSS 2.16KiB 2.16KiB

Bundle analysis reportBranch chore/react-externals-bundle-siz...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci bot commented Mar 26, 2026

React MTF Example

#11 Bundle Size — 207.47KiB (0%).

2319bb1(current) vs dae9fed main#3(baseline)

Bundle metrics  no changes
                 Current
#11
     Baseline
#3
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 3 3
No change  Modules 168 168
No change  Duplicate Modules 66 66
No change  Duplicate Code 46.13% 46.13%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#11
     Baseline
#3
No change  IMG 111.23KiB 111.23KiB
No change  Other 96.24KiB 96.24KiB

Bundle analysis reportBranch chore/react-externals-bundle-siz...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci bot commented Mar 26, 2026

React Example

#6877 Bundle Size — 237.89KiB (0%).

2319bb1(current) vs dae9fed main#6869(baseline)

Bundle metrics  no changes
                 Current
#6877
     Baseline
#6869
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 0% 38.5%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 174 174
No change  Duplicate Modules 69 69
No change  Duplicate Code 46.44% 46.44%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#6877
     Baseline
#6869
No change  IMG 145.76KiB 145.76KiB
No change  Other 92.13KiB 92.13KiB

Bundle analysis reportBranch chore/react-externals-bundle-siz...Project dashboard


Generated by RelativeCIDocumentationReport issue

@colinaaa colinaaa merged commit a32bc28 into main Mar 26, 2026
103 of 106 checks passed
@colinaaa colinaaa deleted the chore/react-externals-bundle-size branch March 26, 2026 12:46
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