Skip to content

chore(deps): upgrade to Vite 8 and Rolldown#942

Merged
senamakel merged 3 commits into
tinyhumansai:mainfrom
VectorJet:upgrade/vite-8-rolldown
Apr 29, 2026
Merged

chore(deps): upgrade to Vite 8 and Rolldown#942
senamakel merged 3 commits into
tinyhumansai:mainfrom
VectorJet:upgrade/vite-8-rolldown

Conversation

@VectorJet
Copy link
Copy Markdown
Contributor

@VectorJet VectorJet commented Apr 26, 2026

Summary

  • vite: ^7.0.4 → ^8.0.0
  • @vitejs/plugin-react: ^4.6.0 → ^6.0.1
  • vite-plugin-node-polyfills: ^0.25.0 → ^0.26.0
  • Vite 8 uses Rolldown (Rust-based bundler) replacing Rollup
  • Update pnpm-lock.yaml with frozen dependency tree

Known Issues

Testing

  • ✅ pnpm install --frozen-lockfile
  • ✅ pnpm build (production)
  • ✅ pnpm dev (dev server)
  • ⏳ CI will run unit tests on GitHub Actions

Summary by CodeRabbit

  • Chores
    • Updated build toolchain dependencies including Vite to v8.0.0, React plugin to v6.0.1, and Node polyfills plugin to v0.26.0.
    • Updated internal vendor dependencies.

- vite: ^7.0.4 → ^8.0.0
- @vitejs/plugin-react: ^4.6.0 → ^6.0.1
- vite-plugin-node-polyfills: ^0.25.0 → ^0.26.0
- Vite 8 uses Rolldown (Rust-based bundler) replacing Rollup
- Update pnpm-lock.yaml with frozen dependency tree

Known: vite-plugin-node-polyfills emits deprecation warning for
esbuild option (superseded by oxc). Non-blocking - plugin works.
Upstream fix in progress: davidmyersdev/vite-plugin-node-polyfills#154
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 26, 2026

Warning

Rate limit exceeded

@VectorJet has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 53 minutes and 56 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 53 minutes and 56 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e21b325c-bdc0-4e1d-9230-d53df41faf1c

📥 Commits

Reviewing files that changed from the base of the PR and between a484188 and f9d0af6.

📒 Files selected for processing (1)
  • app/package.json
📝 Walkthrough

Walkthrough

The pull request upgrades the Vite build toolchain to major versions (vite to ^8.0.0, @vitejs/plugin-react to ^6.0.1) and patches vite-plugin-node-polyfills to ^0.26.0. Additionally, the Tauri-CEF submodule reference is updated to a new commit.

Changes

Cohort / File(s) Summary
Build Toolchain Updates
app/package.json
Upgraded Vite to v8, React plugin to v6, and node-polyfills plugin to v0.26.
Submodule Pin Update
app/src-tauri/vendor/tauri-cef
Updated git submodule commit reference to latest revision.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Vite builds faster with versions so new,
React plugin dancing in version six too,
CEF submodule spinning with fresh commit delight,
Build tools bundled up, oh what a sight!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly reflects the main changes: upgrading Vite to version 8 and switching to Rolldown (Rust-based bundler). This aligns with the primary objective of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@VectorJet VectorJet marked this pull request as ready for review April 26, 2026 11:05
@VectorJet VectorJet requested a review from a team April 26, 2026 11:05
Copy link
Copy Markdown
Member

@senamakel senamakel left a comment

Choose a reason for hiding this comment

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

do push the changes to the tauri-cef repo upstream too

@VectorJet
Copy link
Copy Markdown
Contributor Author

The changes are already up on the tauri-cef repo — tinyhumansai/tauri-cef#9 is open and targets feat/cef with both commits:

  • 448d476 — fix(cef-notifications): shim diagnostics + handler lifecycle cleanup (unregister on browser close)
  • 3a4b24b — allow overriding CEF cache path via OPENHUMAN_CEF_CACHE_PATH

No uncommitted/unstaged changes in the submodule — working tree is clean. Once tauri-cef#9 is merged I'll update the submodule pointer here to the new tip of feat/cef.

tauri-cef#9 merged into feat/cef — includes:
- fix(cef-notifications): shim diagnostics + handler lifecycle cleanup
- feat(cef): allow overriding CEF cache path via OPENHUMAN_CEF_CACHE_PATH
@VectorJet
Copy link
Copy Markdown
Contributor Author

tauri-cef#9 is now merged. I've bumped the submodule pointer in this branch to the new tip of feat/cef (c10bc0f) — commit pushed to VectorJet:upgrade/vite-8-rolldown.

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
app/package.json (1)

105-126: ⚠️ Potential issue | 🟡 Minor

Version bumps are compatible; add Node engine floor to app/package.json.

All three pins are mutually compatible: @vitejs/plugin-react v6 requires Vite 8, and vite-plugin-node-polyfills 0.26.0 is compatible with both. Since app/vite.config.ts uses react() with no options and contains no deprecated keys (rollupOptions, esbuild, optimizeDeps.esbuildOptions), the plugin-react v6 Babel removal is a no-op here.

However, app/package.json lacks an engines field, even though Vite 8 requires Node.js 20.19+ or 22.12+. CI is protected (GitHub Actions enforce Node 24.x across all workflows), but local development on older Node versions will silently fail during install/build. Add an explicit engines field matching the CI floor (e.g., "node": ">=20.19" or "node": ">=22.12") to surface the constraint early.

The upstream esbuild→oxc deprecation warning from vite-plugin-node-polyfills (PR davidmyersdev/vite-plugin-node-polyfills#154) is expected noise until the plugin updates; this does not block the upgrade.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/package.json` around lines 105 - 126, Add an "engines" field to
package.json specifying the minimum Node.js version used in CI so local
installs/builds fail fast; for example add "engines": { "node": ">=20.19" } (or
">=22.12" if you prefer the higher floor) at the top level of package.json to
surface the Node requirement; ensure the key is a top-level "engines" entry so
package managers and editor tooling will enforce the constraint.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@app/package.json`:
- Around line 105-126: Add an "engines" field to package.json specifying the
minimum Node.js version used in CI so local installs/builds fail fast; for
example add "engines": { "node": ">=20.19" } (or ">=22.12" if you prefer the
higher floor) at the top level of package.json to surface the Node requirement;
ensure the key is a top-level "engines" entry so package managers and editor
tooling will enforce the constraint.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a57d1e09-1fe8-4a5a-9d7d-3f8ba062afb5

📥 Commits

Reviewing files that changed from the base of the PR and between 7867496 and a484188.

⛔ Files ignored due to path filters (2)
  • app/src-tauri/Cargo.lock is excluded by !**/*.lock
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • app/package.json
  • app/src-tauri/vendor/tauri-cef

Matches CI node-version (24.x) so local installs fail fast with clear version mismatch errors.
@VectorJet VectorJet requested a review from senamakel April 26, 2026 19:06
@VectorJet
Copy link
Copy Markdown
Contributor Author

VectorJet commented Apr 27, 2026

@senamakel can you be clear about what you want?

@senamakel senamakel merged commit fc06399 into tinyhumansai:main Apr 29, 2026
9 checks passed
AusAgentSmith pushed a commit to AusAgentSmith/openhuman that referenced this pull request May 23, 2026
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