Skip to content

chore(renovate): group rust crates#1733

Merged
colinaaa merged 2 commits intomainfrom
renovate/reconfigure
Sep 18, 2025
Merged

chore(renovate): group rust crates#1733
colinaaa merged 2 commits intomainfrom
renovate/reconfigure

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

@colinaaa colinaaa commented Sep 12, 2025

Summary by CodeRabbit

  • Chores
    • Enabled automated dependency updates for Rust crates via the dependency bot.
    • Grouped general Rust crate updates to reduce PR noise.
    • Set SWC-related Rust dependencies to only receive major update PRs, improving stability.
    • Reordered update managers so Rust updates are processed alongside existing automation.
    • Added napi and napi-derive to ignored dependencies to avoid unnecessary update PRs.

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 Sep 12, 2025

⚠️ No Changeset found

Latest commit: 8bfb922

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.

This PR includes no changesets

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

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Sep 12, 2025

📝 Walkthrough

Walkthrough

Adds cargo to Renovate’s enabledManagers, reorders the list, adds packageRules grouping non-SWC Rust crates and isolating SWC crates with major-only updates, and extends ignoreDeps with napi and napi-derive.

Changes

Cohort / File(s) Summary
Renovate config
.github/renovate.json5
- Add "cargo" to enabledManagers and reorder the list
- Add packageRules: group rust-crates for cargo excluding swc/swc_*
- Add packageRules: group swc for cargo (swc/swc_*) with matchUpdateTypes: ["major"]
- Add napi and napi-derive to ignoreDeps

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • PupilTong
  • gaoachao

Pre-merge checks (3 passed)

✅ 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 concisely and accurately describes the primary change: reorganizing the Renovate configuration to group Rust crates. It follows the conventional "chore(renovate):" prefix, is short, and readable. It need not list every config detail (for example SWC exceptions or added ignoreDeps) to clearly summarize the main intent.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Poem

I thump my paws, tap-tap—approve!
Cargo crates in tidy rows I see,
SWC hops solo, majors only, free.
Napi tucked away, quiet and neat,
A rabbit’s cheer for config complete. 🐇📦

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between da1bde3 and 8bfb922.

📒 Files selected for processing (1)
  • .github/renovate.json5 (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/renovate.json5
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch renovate/reconfigure

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.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 12, 2025

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!

@relativeci
Copy link
Copy Markdown

relativeci bot commented Sep 12, 2025

Web Explorer

#5151 Bundle Size — 362.79KiB (0%).

8bfb922(current) vs 5ad38e6 main#5149(baseline)

Bundle metrics  no changes
                 Current
#5151
     Baseline
#5149
No change  Initial JS 145.21KiB 145.21KiB
No change  Initial CSS 31.89KiB 31.89KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 8 8
No change  Assets 8 8
No change  Modules 219 219
No change  Duplicate Modules 16 16
No change  Duplicate Code 3.34% 3.34%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#5151
     Baseline
#5149
No change  JS 236.88KiB 236.88KiB
No change  Other 94.02KiB 94.02KiB
No change  CSS 31.89KiB 31.89KiB

Bundle analysis reportBranch renovate/reconfigureProject dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci bot commented Sep 12, 2025

React Example

#5158 Bundle Size — 238.9KiB (0%).

8bfb922(current) vs 5ad38e6 main#5156(baseline)

Bundle metrics  no changes
                 Current
#5158
     Baseline
#5156
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 4 4
No change  Modules 163 163
No change  Duplicate Modules 67 67
No change  Duplicate Code 46.79% 46.79%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#5158
     Baseline
#5156
No change  IMG 145.76KiB 145.76KiB
No change  Other 93.14KiB 93.14KiB

Bundle analysis reportBranch renovate/reconfigureProject dashboard


Generated by RelativeCIDocumentationReport issue

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Sep 12, 2025

CodSpeed Performance Report

Merging #1733 will degrade performances by 8.19%

Comparing renovate/reconfigure (8bfb922) with main (45e3201)

🎉 Hooray! codspeed-node just leveled up to 4.0.1!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

❌ 1 regression
✅ 55 untouched

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

Benchmarks breakdown

Benchmark BASE HEAD Change
basic-performance-nest-level-100 6.2 ms 6.8 ms -8.19%

@colinaaa colinaaa marked this pull request as ready for review September 12, 2025 07:33
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
.github/renovate.json5 (1)

155-156: Minor formatting: fix indentation.

Line 156 has extra indentation before {, inconsistent with surrounding rules.

-    },
-        {
+    },
+    {
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7bfd4bf and da1bde3.

📒 Files selected for processing (1)
  • .github/renovate.json5 (2 hunks)
🔇 Additional comments (1)
.github/renovate.json5 (1)

22-24: Enabling Cargo manager looks good.

Recognizing Rust workspaces is now possible; order in enabledManagers is non-functional and fine.

@renovate
Copy link
Copy Markdown
Contributor

renovate bot commented Sep 12, 2025

Reconfigure PR Results

This is an reconfigure PR comment to help you understand and re-configure your renovate bot settings. If this Reconfigure PR were to be merged, we'd expect to see the following outcome:


Detected Package Files

  • Cargo.toml (cargo)
  • packages/react/transform/Cargo.toml (cargo)
  • packages/web-platform/web-style-transformer/Cargo.toml (cargo)
  • .github/actions/rustup/action.yml (github-actions)
  • .github/workflows/code-scanning.yml (github-actions)
  • .github/workflows/copilot-setup-steps.yml (github-actions)
  • .github/workflows/deploy-main.yml (github-actions)
  • .github/workflows/nodejs-dependencies.yml (github-actions)
  • .github/workflows/pull-request-content-check.yml (github-actions)
  • .github/workflows/relative-ci.yml (github-actions)
  • .github/workflows/rust.yml (github-actions)
  • .github/workflows/stale.yml (github-actions)
  • .github/workflows/test.yml (github-actions)
  • .github/workflows/workflow-bench.yml (github-actions)
  • .github/workflows/workflow-build.yml (github-actions)
  • .github/workflows/workflow-bundle-analysis.yml (github-actions)
  • .github/workflows/workflow-test.yml (github-actions)
  • .github/workflows/workflow-website.yml (github-actions)
  • benchmark/react/package.json (npm)
  • examples/react/package.json (npm)
  • examples/tailwindcss/package.json (npm)
  • package.json (npm)
  • packages/background-only/package.json (npm)
  • packages/lynx/benchx_cli/package.json (npm)
  • packages/react/package.json (npm)
  • packages/react/refresh/package.json (npm)
  • packages/react/runtime/package.json (npm)
  • packages/react/testing-library/package.json (npm)
  • packages/react/transform/cjs/package.json (npm)
  • packages/react/transform/package.json (npm)
  • packages/react/worklet-runtime/package.json (npm)
  • packages/rspeedy/core/package.json (npm)
  • packages/rspeedy/create-rspeedy/package.json (npm)
  • packages/rspeedy/create-rspeedy/template-react-js/package.json (npm)
  • packages/rspeedy/create-rspeedy/template-react-ts/package.json (npm)
  • packages/rspeedy/create-rspeedy/template-react-vitest-rltl-js/package.json (npm)
  • packages/rspeedy/create-rspeedy/template-react-vitest-rltl-ts/package.json (npm)
  • packages/rspeedy/plugin-qrcode/package.json (npm)
  • packages/rspeedy/plugin-react-alias/package.json (npm)
  • packages/rspeedy/plugin-react/package.json (npm)
  • packages/rspeedy/upgrade-rspeedy/package.json (npm)
  • packages/rspeedy/websocket/package.json (npm)
  • packages/testing-library/examples/basic/package.json (npm)
  • packages/testing-library/testing-environment/package.json (npm)
  • packages/third-party/tailwind-preset/package.json (npm)
  • packages/tools/canary-release/package.json (npm)
  • packages/tools/css-serializer/package.json (npm)
  • packages/tools/vitest-setup/package.json (npm)
  • packages/use-sync-external-store/package.json (npm)
  • packages/web-platform/offscreen-document/package.json (npm)
  • packages/web-platform/web-constants/package.json (npm)
  • packages/web-platform/web-core-server/package.json (npm)
  • packages/web-platform/web-core/package.json (npm)
  • packages/web-platform/web-elements-compat/package.json (npm)
  • packages/web-platform/web-elements-reactive/package.json (npm)
  • packages/web-platform/web-elements-template/package.json (npm)
  • packages/web-platform/web-elements/package.json (npm)
  • packages/web-platform/web-explorer/package.json (npm)
  • packages/web-platform/web-mainthread-apis/package.json (npm)
  • packages/web-platform/web-rsbuild-plugin/package.json (npm)
  • packages/web-platform/web-style-transformer/package.json (npm)
  • packages/web-platform/web-tests/package.json (npm)
  • packages/web-platform/web-worker-rpc/package.json (npm)
  • packages/web-platform/web-worker-runtime/package.json (npm)
  • packages/webpack/cache-events-webpack-plugin/package.json (npm)
  • packages/webpack/chunk-loading-webpack-plugin/package.json (npm)
  • packages/webpack/css-extract-webpack-plugin/package.json (npm)
  • packages/webpack/react-refresh-webpack-plugin/package.json (npm)
  • packages/webpack/react-webpack-plugin/package.json (npm)
  • packages/webpack/runtime-wrapper-webpack-plugin/package.json (npm)
  • packages/webpack/template-webpack-plugin/package.json (npm)
  • packages/webpack/test-tools/package.json (npm)
  • packages/webpack/webpack-dev-transport/package.json (npm)
  • packages/webpack/webpack-runtime-globals/package.json (npm)
  • pnpm-workspace.yaml (npm)
  • website/package.json (npm)
  • .nvmrc (nvm)
  • packages/lynx/benchx_cli/scripts/build.mjs (regex)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Hopefully safe environment variables to allow users to configure.
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests (except for nuget) directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Show only the Age and Confidence Merge Confidence badges for pull requests.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.
  • Run lock file maintenance (updates) early Monday mornings.
  • Pin github-action digests.

What to Expect

With your current configuration, Renovate will create 21 Pull Requests:

chore(deps): update github-actions
chore(deps): update lynx digest to 4d88329
  • Schedule: ["* 0-3 1 * *"]
  • Branch name: renovate/lynx-engine
  • Merge into: main
  • Upgrade lynx to 4d88329d4410e900ed54be04a2032d915a90143d
chore(deps): update dependency @​microsoft/api-extractor to v7.52.12
  • Schedule: ["at any time"]
  • Branch name: renovate/api-extractor
  • Merge into: main
  • Upgrade @microsoft/api-extractor to 7.52.12
chore(deps): update dependency @​rsbuild/core to v1.5.6
  • Schedule: ["at any time"]
  • Branch name: renovate/rsbuild-core-1.x
  • Merge into: main
  • Upgrade @rsbuild/core to 1.5.6
chore(deps): update dependency fs-extra to ^11.3.1
  • Schedule: ["at any time"]
  • Branch name: renovate/fs-extra-11.x
  • Merge into: main
  • Upgrade fs-extra to ^11.3.1
chore(deps): update rspack monorepo to v1.5.3
chore(deps): update types
fix(deps): update dependency magic-string to ^0.30.19
  • Schedule: ["at any time"]
  • Branch name: renovate/magic-string-0.x
  • Merge into: main
  • Upgrade magic-string to ^0.30.19
fix(deps): update rspress
chore(deps): update dependency memfs to ^4.39.0
  • Schedule: ["at any time"]
  • Branch name: renovate/memfs-4.x
  • Merge into: main
  • Upgrade memfs to ^4.39.0
chore(deps): update linting
chore(deps): update rust crates
chore(deps): update dependency @​biomejs/biome to v2
  • Schedule: ["at any time"]
  • Branch name: renovate/biomejs-biome-2.x
  • Merge into: main
  • Upgrade @biomejs/biome to ^2.2.4
chore(deps): update dependency commander to v14
  • Schedule: ["at any time"]
  • Branch name: renovate/commander-14.x
  • Merge into: main
  • Upgrade commander to ^14.0.1
chore(deps): update dependency eslint-plugin-unicorn to v61
  • Schedule: ["at any time"]
  • Branch name: renovate/major-linting
  • Merge into: main
  • Upgrade eslint-plugin-unicorn to ^61.0.2
chore(deps): update dependency tailwindcss to v4
  • Schedule: ["at any time"]
  • Branch name: renovate/major-tailwindcss-monorepo
  • Merge into: main
  • Upgrade tailwindcss to ^4.1.13
  • Upgrade tailwindcss to ^3 || ^4.0.0
chore(deps): update github-actions (major)
  • Schedule: ["at any time"]
  • Branch name: renovate/major-github-actions
  • Merge into: main
  • Upgrade actions/setup-node to a0853c24544627f65ddf259abe73b1d18a591444
  • Upgrade actions/stale to 3a9db7e6a41a89f618792c92c0e97cc736e1b13f
  • Upgrade actions/upload-pages-artifact to 7b1f4a764d45c48632c6b24a0339c27f5614fb0b
chore(deps): update rust crate dashmap to v6
  • Schedule: ["at any time"]
  • Branch name: renovate/major-rust-crates
  • Merge into: main
  • Upgrade dashmap to 6.1.0
chore(deps): update rust crate swc_core to v40
  • Schedule: ["at any time"]
  • Branch name: renovate/major-swc
  • Merge into: main
  • Upgrade swc_core to 40.0.0
chore(deps): update types (major)
chore(deps): lock file maintenance
  • Schedule: ["* 0-3 * * 1"]
  • Branch name: renovate/lock-file-maintenance
  • Merge into: main
  • Regenerate lock files to use latest dependency versions

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for prhourlylimit for details.

@colinaaa colinaaa merged commit f118770 into main Sep 18, 2025
83 of 86 checks passed
@colinaaa colinaaa deleted the renovate/reconfigure branch September 18, 2025 03:16
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