Skip to content

chore(mosaic): raise total bundle size limit to 315KB - #11014

Merged
brkalow merged 1 commit into
mainfrom
brk/mosaic-bundlewatch-limit
Nov 25, 2026
Merged

brkalow merged 1 commit into
mainfrom
brk/mosaic-bundlewatch-limit

Conversation

@brkalow

@brkalow brkalow commented Nov 25, 2026

Copy link
Copy Markdown
Member

Description

The Bundle size check on the Version packages PR (clerk/javascript#10998) fails because the full @clerk/mosaic bundle measures 310.2KB gzipped against a 310KB limit. This raises that limit to 315KB. The eager bundle and styles.css limits are unchanged.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other: CI bundle size limit

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 25, 2026 8:25pm UTC
mosaic-docs Ready Ready Preview Nov 25, 2026 8:25pm UTC
swingset Ready Ready Preview Nov 25, 2026 8:25pm UTC

Request Review

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9f08f21

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

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The bundlewatch limit for ./dist/.bundlewatch/total/index.js increases from 310KB to 315KB. A changeset file adds empty YAML frontmatter.

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

Possibly related PRs

  • clerk/javascript#10806: This PR introduced the total-bundle measurement and the 310KB limit that this change raises.

Suggested reviewers: alexcarpenter, dstaley

Merge Risk: Minimal · up to 9f08f

This only raises a CI bundle-size limit and adds an empty changeset. It does not change runtime behavior and is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the total bundle size limit for @clerk/mosaic is raised to 315KB. It names the affected package and the new limit. The chore(mosaic) prefix matches a CI configuration…
Description check Passed The description states the cause and the change. The Version packages bundle size check fails because the full @clerk/mosaic bundle measures 310.2KB gzipped against a 310KB limit, so the limit is rais…
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.
Full details: Title check

Explanation

The title states the main change: the total bundle size limit for @clerk/mosaic is raised to 315KB. It names the affected package and the new limit. The chore(mosaic) prefix matches a CI configuration change.

Full details: Description check

Explanation

The description states the cause and the change. The Version packages bundle size check fails because the full @clerk/mosaic bundle measures 310.2KB gzipped against a 310KB limit, so the limit is raised to 315KB. The eager bundle and styles.css limits are unchanged. This directly relates to the bundlewatch.config.json edit and the changeset file.

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

Warning

Linked repositories: This review skipped 6 repositories. Cross-repository analysis may be incomplete. Check linked repository access and settings.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 14c5168 and 9f08f21.

Files selected for processing: 2

  • .changeset/raise-mosaic-bundlewatch-limit.md
  • packages/mosaic/bundlewatch.config.json
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. 9 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

@brkalow
brkalow enabled auto-merge (squash) November 25, 2026 20:28
@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@11014

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@11014

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@11014

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@11014

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@11014

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@11014

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@11014

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@11014

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@11014

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@11014

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@11014

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@11014

@clerk/express

npm i https://pkg.pr.new/@clerk/express@11014

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@11014

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@11014

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@11014

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@11014

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@11014

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@11014

@clerk/react

npm i https://pkg.pr.new/@clerk/react@11014

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@11014

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@11014

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@11014

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@11014

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@11014

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@11014

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@11014

commit: 9f08f21

@brkalow
brkalow merged commit 030e6ae into main Nov 25, 2026
59 checks passed
@brkalow
brkalow deleted the brk/mosaic-bundlewatch-limit branch November 25, 2026 20:33

This branch was successfully deployed

2 active deployments
Preview – swingset — 9f08f216 Deployed Nov 25, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 9f08f216 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants