Skip to content

[FE chore] pnpm & nextjs upgrade#4337

Merged
jp-agenta merged 6 commits into
release/v0.99.9from
fe-chore/pnpm-upgrade
May 15, 2026
Merged

[FE chore] pnpm & nextjs upgrade#4337
jp-agenta merged 6 commits into
release/v0.99.9from
fe-chore/pnpm-upgrade

Conversation

@ardaerzin
Copy link
Copy Markdown
Contributor

Summary

bumped ppm / nextjs versions

Checklist

  • Relevant tests pass locally
  • Relevant linting and formatting pass locally
  • I have signed the CLA, or I will sign it when the bot prompts me

Contributor Resources

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment May 15, 2026 11:07am

Request Review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Review Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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 Plus

Run ID: bd165040-7c22-4ba6-b9cc-8e94da4ecce1

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
📝 Walkthrough

Walkthrough

This PR upgrades pnpm from 10.30.0 to 11.1.2, updates Next.js to 15.5.18 across the workspace, and migrates GitHub workflows and Docker images to use dynamic pnpm version resolution via Corepack instead of hardcoded version numbers or jq-based extraction.

Changes

pnpm and Next.js Ecosystem Update

Layer / File(s) Summary
pnpm Upgrade to 11.1.2 and Workspace Build Configuration
web/package.json, web/pnpm-workspace.yaml
web/package.json updates the root packageManager field to pnpm@11.1.2+sha512... and adjusts pnpm configuration by removing ignoredBuiltDependencies and onlyBuiltDependencies sections while updating the pnpm.overrides rule for Next.js from 15.5.15 to 15.5.18. web/pnpm-workspace.yaml adds an explicit allowBuilds block that enables builds for @swc/core, core-js, esbuild, sharp, and unrs-resolver, while disabling them for browser-tabs-lock and protobufjs.
GitHub Workflows: Use Package.json-based pnpm Version
.github/workflows/01-create-release-branch.yml, .github/workflows/11-check-code-styling.yml, .github/workflows/44-railway-tests.yml
All three workflows are updated to resolve pnpm version dynamically from web/package.json via the package_json_file: web/package.json parameter in pnpm/action-setup@v4, replacing hardcoded version: 10 or version: 9 configurations across five workflow steps (create-release-branch install, prettier-format, eslint, wait-for-readiness, and run-web-tests).
Docker Images: Migrate to Corepack-based pnpm Installation
web/ee/docker/Dockerfile.dev, web/oss/docker/Dockerfile.dev
Both Docker images are updated to use Node Corepack for pnpm provisioning instead of the previous jq-based extraction method. The images now install and enable Corepack, extract the pnpm version from package.json using Node, and activate the corresponding pnpm version via corepack prepare --activate, eliminating the dependency on jq and direct npm-based pnpm installation.
Next.js Version Bumps and Workspace Alignment
web/package.json, web/ee/package.json, web/oss/package.json, examples/python/RAG_QA_chatbot/frontend/package.json
Next.js and related packages are bumped to 15.5.18 across all workspace packages: next from 15.5.16→15.5.18 and ESLint packages @next/eslint-plugin-next and eslint-config-next from 15.5.15→15.5.18 in web/package.json; @next/bundle-analyzer and next bumped in web/oss/package.json; next bumped in web/ee/package.json with its packageManager field removed; and next bumped in the RAG QA chatbot frontend. The packageManager field is removed from web/ee/package.json and web/oss/package.json to consolidate version management in the root workspace.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Agenta-AI/agenta#4268: Updates next dependency in examples/python/RAG_QA_chatbot/frontend/package.json in the same file affected by this PR.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately reflects the main changes: a frontend chore involving pnpm and Next.js version upgrades.
Description check ✅ Passed The PR description is related to the changeset, providing a summary of bumped pnpm/nextjs versions and completion of relevant checklists.
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
  • Commit unit tests in branch fe-chore/pnpm-upgrade

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

@ardaerzin ardaerzin marked this pull request as ready for review May 15, 2026 08:59
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. Frontend labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-05-15T11:07:30.051Z

@jp-agenta jp-agenta changed the base branch from main to release/v0.99.9 May 15, 2026 11:06
@jp-agenta jp-agenta merged commit 8360d81 into release/v0.99.9 May 15, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants