Skip to content

chore(frontend): update to Node 24 LTS - #13492

Merged
0ubbe merged 4 commits into
devfrom
feat/frontend-node-24
Jul 7, 2026
Merged

chore(frontend): update to Node 24 LTS#13492
0ubbe merged 4 commits into
devfrom
feat/frontend-node-24

Conversation

@0ubbe

@0ubbe 0ubbe commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Why / What / How

The above bro ☝🏽

Checklist 📋

For code changes:

  • I have clearly listed my changes in the PR description
  • I have made a test plan
  • I have tested my changes according to the test plan:
    • Click around the platform and looks good

@0ubbe
0ubbe requested review from a team as code owners July 7, 2026 06:43
@0ubbe
0ubbe requested review from Pwuts and removed request for a team July 7, 2026 06:43
@0ubbe
0ubbe requested a review from kcze July 7, 2026 06:43
@github-project-automation github-project-automation Bot moved this to 🆕 Needs initial review in AutoGPT development kanban Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (1)
  • chore

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 28297ed3-11bc-4117-89a4-88930570cae8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/frontend-node-24

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.

@github-actions github-actions Bot added the platform/frontend AutoGPT Platform - Front end label Jul 7, 2026
@github-actions github-actions Bot added the size/m label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🔍 PR Overlap Detection

This check compares your PR against all other open PRs targeting the same branch to detect potential merge conflicts early.

🟢 Low Risk — File Overlap Only

These PRs touch the same files but different sections (click to expand)

Summary: 0 conflict(s), 0 medium risk, 5 low risk (out of 5 PRs with file overlap)


Auto-generated on push. Ignores: openapi.json, lock files.

Comment thread autogpt_platform/frontend/package.json
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.02%. Comparing base (7222a5f) to head (3c4e4b4).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #13492      +/-   ##
==========================================
- Coverage   75.05%   75.02%   -0.04%     
==========================================
  Files        2610     2610              
  Lines      194823   194825       +2     
  Branches    19166    19165       -1     
==========================================
- Hits       146222   146160      -62     
- Misses      44430    44490      +60     
- Partials     4171     4175       +4     
Flag Coverage Δ
platform-frontend 45.10% <ø> (ø)
platform-frontend-e2e 31.80% <ø> (-0.41%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Platform Backend 82.11% <ø> (ø)
Platform Frontend 49.12% <ø> (-0.19%) ⬇️
AutoGPT Libs ∅ <ø> (∅)
Classic AutoGPT 28.43% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Abhi1992002
Abhi1992002 previously approved these changes Jul 7, 2026
@github-project-automation github-project-automation Bot moved this from 🆕 Needs initial review to 👍🏼 Mergeable in AutoGPT development kanban Jul 7, 2026
…d engines

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@0ubbe
0ubbe merged commit 8ae045b into dev Jul 7, 2026
36 checks passed
@0ubbe
0ubbe deleted the feat/frontend-node-24 branch July 7, 2026 07:44
@github-project-automation github-project-automation Bot moved this from 👍🏼 Mergeable to ✅ Done in AutoGPT development kanban Jul 7, 2026
@github-project-automation github-project-automation Bot moved this to Done in Frontend Jul 7, 2026
ntindle added a commit that referenced this pull request Jul 18, 2026
The frontend has required Node 24 since #13492 (engines.node 24.x with
engine-strict=true), but the root .nvmrc still pins 22 — so nvm users
and any tooling that resolves the nearest .nvmrc get a Node that can no
longer install the frontend.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AxWtuJtGyjBYUdWTvuWffp
LauraGPT pushed a commit to LauraGPT/AutoGPT that referenced this pull request Jul 18, 2026
…s#13602)

### Background

Significant-Gravitas#13492 moved the frontend to Node 24 LTS (`engines.node: 24.x`, enforced
by `engine-strict=true` in `.npmrc`), but the root `.nvmrc` still pins
**22**. Anyone running `nvm use` from the repo root — or any tooling
that resolves the nearest `.nvmrc` — ends up on a Node that can no
longer `pnpm install` the frontend:

```
ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)
Expected version: 24.x
Got: v22.x
```

This stale pin also sent the PR-review automation down the wrong Node
version until it learned to distrust it.

### Changes 🏗️

- Bump root `.nvmrc` from `22` to `24`, matching the frontend's engines
requirement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01AxWtuJtGyjBYUdWTvuWffp

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Single-line tooling pin only; no runtime, auth, or application logic
changes.
> 
> **Overview**
> Updates the **root** `.nvmrc` from **22** to **24** so `nvm use` and
other nearest-`.nvmrc` resolution match the frontend’s **`engines.node:
24.x`** (and `engine-strict` installs).
> 
> This removes the mismatch where developers on Node 22 at the repo root
hit `ERR_PNPM_UNSUPPORTED_ENGINE` when installing or working on the
frontend.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
11f6362. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/frontend AutoGPT Platform - Front end size/m

Projects

Status: ✅ Done
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants