Skip to content

ci: use nuxt-bundle-analyzer 0.2.0 - #94

Merged
atinux merged 2 commits into
mainfrom
ci/bundle-analyzer-0.2.0
Nov 13, 2026
Merged

atinux merged 2 commits into
mainfrom
ci/bundle-analyzer-0.2.0

Conversation

@atinux

@atinux atinux commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Written by an AI agent on behalf of @atinux, who asked for this change; he hasn't reviewed this text before it was posted.

Updates bundle-size.yml and bundle-size-comment.yml from nuxt-bundle-analyzer@0.1.7 to 0.2.0, and has bundle-size.yml render three pages of playground with --urls: /, /page and /getting-started/introduction. The comparison then also shows what each page's HTML preloads, including the components its Markdown renders.

The analyze step, run locally on this branch with npx --yes nuxt-bundle-analyzer@0.2.0 playground --urls "/,/page,/getting-started/introduction" --no-serve and a 6 GB heap (the workflow sets 8 GB), exit 0:

[nitro] ℹ Prerendering 3 routes
[nitro]   ├─ /page (1483ms)
[nitro]   ├─ /getting-started/introduction (1599ms)
[nitro]   ├─ / (1796ms)
[nitro] ℹ Prerendered 3 routes in 64.731 seconds
[nuxt-bundle-analyzer] ℹ Recorded 3 prerendered pages.
URL Files its HTML preloads HTML (gzip)
/ 47 18.0 kB
/getting-started/introduction 102 20.4 kB
/page 102 14.9 kB

This pull request's own bundle comment comes from main's comment workflow (0.1.7); comments use 0.2.0 after merging.

Summary by CodeRabbit

  • Chores
    • Updated the tooling used in automated bundle-size reporting.
    • This change affects reporting workflows only; no user-facing feature or behavior changes are included.

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
comark-docs-layer Ready Ready Preview Nov 13, 2026 1:23pm UTC

@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with ci:, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Both bundle-size workflows update the configured nuxt-bundle-analyzer version from 0.1.7 to 0.2.0.

Changes: Bundle analyzer configuration

Layer / File(s) Summary
Update workflow analyzer versions
.github/workflows/bundle-size-comment.yml, .github/workflows/bundle-size.yml
Both workflows now configure nuxt-bundle-analyzer version 0.2.0 instead of 0.1.7.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 46ccc

This updates the bundle analyzer version used by the CI bundle-size workflows. The playground analysis still measures the build only. It does not affect runtime behavior, and the merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci: use nuxt-bundle-analyzer 0.2.0" matches the only change in the PR. Both bundle-size.yml and bundle-size-comment.yml move nuxt-bundle-analyzer from 0.1.7 to 0.2.0. The title is short, sp…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "ci: use nuxt-bundle-analyzer 0.2.0" matches the only change in the PR. Both bundle-size.yml and bundle-size-comment.yml move nuxt-bundle-analyzer from 0.1.7 to 0.2.0. The title is short, specific, and names the tool and version. It does not mention the removed --prerender flag, but that detail is not needed for the title to convey the main change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b0b41d61-465d-40f7-9279-4abc1bef36dd
Commits

Reviewing files that changed from the base of the PR and between 957ffc4 and 46ccc5a.

Files selected for processing: 2

  • .github/workflows/bundle-size-comment.yml
  • .github/workflows/bundle-size.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/comarkdown/comark-docs@94

commit: 2122c32

@github-actions

Copy link
Copy Markdown

Bundle size

Explore the comparison →

Client 867.5 kB $\color{red}\textsf{(+3 B, +0.0}\%\textsf{)}$ · Server 6.52 MB $\color{green}\textsf{(-252 B, -0.0}\%\textsf{)}$

Initial page load PR Δ
/ 360.6 kB −362 B (−0.1%)
/:slug(.+) 726.7 kB −362 B (−0.0%)
/docs 272.9 kB −362 B (−0.1%)
/full 273.1 kB −362 B (−0.1%)
/logos 280.0 kB −362 B (−0.1%)
Largest changes in the server
Package or file Base PR Δ
[unassigned] 5.30 MB 5.30 MB −216 B (−0.0%)

Brotli sizes. Changes under 100 B are left out of the tables. Initial page load counts the JavaScript and CSS a route loads before it renders. Measured by nuxt-bundle-analyzer for 46ccc5a.

@atinux
atinux merged commit 6dbf3a8 into main Nov 13, 2026
10 of 12 checks passed
@atinux
atinux deleted the ci/bundle-analyzer-0.2.0 branch November 13, 2026 13:24

This branch was successfully deployed

1 active deployment
Preview — 2122c328 Deployed Nov 13, 2026 by vercel[bot]
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.

1 participant