Skip to content

ci: color bundle size changes in PR comments - #1542

Merged
manudeli merged 2 commits into
mainfrom
manudeli/bundle-size-delta-colors
Nov 22, 2026
Merged

manudeli merged 2 commits into
mainfrom
manudeli/bundle-size-delta-colors

Conversation

@manudeli

Copy link
Copy Markdown
Collaborator

Add a green dot for bundle size decreases and a red dot for increases in the asset and page Change columns. Zero deltas keep their existing format.

Example using the bundle size report on #1540.

Asset Main PR merge build Change
JavaScript 19617.31 KiB 19600.31 KiB 🟢 -16.99 KiB (-0.09%)
JavaScript (gzip) 6451.46 KiB 6449.56 KiB 🟢 -1.90 KiB (-0.03%)
CSS 795.21 KiB 796.77 KiB 🔴 +1.56 KiB (+0.20%)
CSS (gzip) 121.46 KiB 121.86 KiB 🔴 +0.40 KiB (+0.33%)

Verified by running the workflow’s comment script with fixture reports covering decreases, increases, zero changes, added pages, and removed pages.

@manudeli
manudeli requested a review from a team November 22, 2026 15:43
@changeset-bot

changeset-bot Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7c958a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

@manudeli
manudeli merged commit 3599a0e into main Nov 22, 2026
6 checks passed
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@manudeli
manudeli deleted the manudeli/bundle-size-delta-colors branch November 22, 2026 15:44
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