Skip to content

ci(renovate): split the packages major group by dependency type - #433

Merged
gitfromwildan merged 1 commit into
mainfrom
ci/renovate-split-major-groups
Oct 31, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
ci/renovate-split-major-groups

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Summary

Task T3 from the plan in #432. This splits the packages major dependencies Renovate group. It is a prerequisite for T4 (runtime majors), T5 (dev tooling majors) and T6 (changesets toolchain).

The old group put every major in packages/** into one PR. On the dashboard that PR mixed published runtime changes (mermaid 12, tailwind-merge 3, the @sentry/bun peer) with dev-only ones (jsdom 30, @testing-library/jest-dom 7, @types/node 26). One failing upgrade blocked all six, and the runtime changes could not each get their own changeset.

Changes (.github/renovate.json)

  • devDependency majors in packages/ are grouped (packages devDependencies majors). Runtime dependencies and peerDependencies majors are left ungrouped, so each gets its own PR.
    • Some packages are excluded from this group: those that are also a runtime or peer dependency of a workspace package (vite, unified, lucide-react, react-icons, tailwindcss), the root devDependency typescript, and the React packages. This keeps all occurrences of one package on one branch instead of splitting the dev range from the published one.
  • React majors (react, react-dom, @types/react, @types/react-dom) stay in one PR, together with the pnpm overrides that pin them. This keeps the old group's intent.
  • Changesets toolchain majors (@changesets/cli, @changesets/changelog-github, changesets/action) are grouped. The release pipeline needs them on matching majors.

Verification

  • renovate-config-validator --strict (Renovate 44, the version renovatebot/[email protected] runs) passes, both as repository config and on the file path.
  • Ran Renovate 44 locally with --platform=local --dry-run=lookup: 16 branches. The relevant ones:
Branch Updates
renovate/mermaid-12.x mermaid (markdown, dependencies)
renovate/tailwind-merge-3.x tailwind-merge (ui-react, dependencies)
renovate/major-sentry-javascript-monorepo @sentry/bun peer → ^10.0.0 || ^11.0.0 (flame)
renovate/major-packages-devdependencies-majors @types/node (core, flame, themes-colors), jsdom + @testing-library/jest-dom (markdown, ui-react)
renovate/major-changesets @changesets/cli, @changesets/changelog-github, changesets/action
renovate/major-vitest vitest, @vitest/coverage-v8 (unchanged)
  • Negative check: the pnpm-workspace.overrides major-disable rule still applies. Renovate logged Filtered out 3 disabled update(s) for undici@7 → 8, js-yaml@4 → 5 and read-yaml-file → 3.

Self-hosted Renovate reads its config only from main. After merge, a dryRun: full dispatch (or Monday's scheduled run) should show the same branches on the dashboard.

Refs #432

The "packages major dependencies" group put every major in packages/
into one PR. On the dashboard it mixed published runtime changes
(mermaid 12, tailwind-merge 3, the @sentry/bun peer) with dev-only ones
(jsdom 30, @testing-library/jest-dom 7, @types/node 26), so one failing
upgrade blocked all six and the runtime ones could not each carry a
changeset.

- group only devDependency majors in packages/. Runtime and peer majors
  are ungrouped, so each gets its own PR. Packages that are also a
  runtime/peer dependency elsewhere (vite, unified, lucide-react,
  react-icons, tailwindcss) or a root devDependency (typescript) are
  excluded, so all their occurrences share one branch
- keep React majors together across packages/ and the pnpm overrides
- group @changesets/cli, @changesets/changelog-github and
  changesets/action majors; the release pipeline needs them to match

A local Renovate 44 lookup now returns mermaid-12.x, tailwind-merge-3.x,
major-sentry-javascript-monorepo, major-packages-devdependencies-majors
and major-changesets as separate branches. The undici@7, js-yaml@4 and
read-yaml-file override majors are still disabled.

Refs #432
@gitfromwildan gitfromwildan self-assigned this Oct 31, 2026
@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Oct 31, 2026 3:13am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes — I reviewed the Renovate packageRules change that replaces the single packages/** majors group with separate groups split by dependency type (mode: standard).

  • devDependency majors grouped — packages devDependencies majors now covers only devDependencies in packages/**. Runtime and peer majors are ungrouped, so each one gets its own PR and changeset.
  • Exclusion list matches the manifests — Every package that is a devDependency in one workspace package and a runtime or peer dependency in another is excluded: vite, unified, lucide-react, react-icons and tailwindcss. So are the root typescript and the React packages. daisyui only appears as a dependency or peer, so it is never grouped. vitest and @vitest/coverage-v8 are still regrouped by the later vitest rule.
  • react group — With no file filter, React majors in packages/ and the pnpm-workspace.yaml pins share one branch. The later override major-disable rule still excludes the React names, so the pins are not disabled.
  • changesets group — @changesets/cli, @changesets/changelog-github and changesets/action (from release.yml) land together.
  • Validation — I re-ran renovate-config-validator --strict with renovate@44, and it passed.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit 20218f5 into main Oct 31, 2026
16 checks passed
@gitfromwildan
gitfromwildan deleted the ci/renovate-split-major-groups branch October 31, 2026 03:38
@gitfromwildan gitfromwildan mentioned this pull request Nov 5, 2026
12 tasks
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