Skip to content

chore: upgrade to Yarn 4 - #932

Merged
MounirDhahri merged 1 commit into
mainfrom
feat/update-to-yarn-4
Aug 7, 2026
Merged

chore: upgrade to Yarn 4#932
MounirDhahri merged 1 commit into
mainfrom
feat/update-to-yarn-4

Conversation

@MounirDhahri

Copy link
Copy Markdown
Member

Summary

  • Bump Yarn from 1.22.15 to 4.10.3 and Node from 20.9.0 to 24.6.0
  • Commit .yarnrc.yml and the pinned Yarn release binary (.yarn/releases/yarn-4.10.3.cjs) so CI has a Yarn 4 binary to run
  • Update CircleCI: bump both Docker images to cimg/node:24.6.0 and add corepack enable before yarn install in the deploy job, since the image's global Yarn Classic won't read the new v8 lockfile format otherwise

Test plan

  • CircleCI deploy-json and run-eigen-tests jobs run green on this branch
  • yarn install works locally on a fresh clone with Node 24.6.0

Assisted-by: Claude:Sonnet-5

🤖 Generated with Claude Code

Bumps Node to 24.6.0 and Yarn to 4.10.3, commits the pinned Yarn
release binary and .yarnrc.yml, and updates CircleCI to match: newer
Node image and a corepack enable step so the classic Yarn 1 shipped
in the CI image doesn't try to read the new lockfile format.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Assisted-by: Claude:Sonnet-5 [claude-code]
@MounirDhahri MounirDhahri self-assigned this Aug 7, 2026

@MrSltun MrSltun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! but let's test thouroghly on staging before we delpoy to prod

@MounirDhahri

Copy link
Copy Markdown
Member Author

Yes, I am keeping an eye on it

@MounirDhahri
MounirDhahri merged commit 0fd1bcd into main Aug 7, 2026
2 checks passed
@MounirDhahri
MounirDhahri deleted the feat/update-to-yarn-4 branch August 7, 2026 13:25
@MounirDhahri

Copy link
Copy Markdown
Member Author

I think anyway, we need to merge to get the jobs to run on staging

@MounirDhahri

Copy link
Copy Markdown
Member Author

OKay working fine now - corepack enable actually broke initially. the solution was to replace it with

      - node/install-packages:
          pkg-manager: yarn-berry

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