mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
2cafcbc8ec
Bumps the npm_and_yarn group with 1 update in the / directory: [react-server-dom-webpack](https://github.com/facebook/react/tree/HEAD/packages/react-server-dom-webpack). Bumps the npm_and_yarn group with 1 update in the /apps/website directory: [react-server-dom-webpack](https://github.com/facebook/react/tree/HEAD/packages/react-server-dom-webpack). Bumps the npm_and_yarn group with 1 update in the /experiments/pkg-cache-bench directory: [react-server-dom-webpack](https://github.com/facebook/react/tree/HEAD/packages/react-server-dom-webpack). Updates `react-server-dom-webpack` from 19.2.5 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-server-dom-webpack) Updates `fast-uri` from 3.1.0 to 3.1.2 - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2) Updates `react-server-dom-webpack` from 19.2.5 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-server-dom-webpack) Updates `react-server-dom-webpack` from 19.2.5 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-server-dom-webpack) --- updated-dependencies: - dependency-name: react-server-dom-webpack dependency-version: 19.2.6 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: fast-uri dependency-version: 3.1.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: react-server-dom-webpack dependency-version: 19.2.6 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: react-server-dom-webpack dependency-version: 19.2.6 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Package Manager Cache Benchmark
Benchmarks install speed for NPM, Yarn, and Bun across 4 caching scenarios using a real create-rwsdk project.
Why
Agent CI already caches PNPM installs via warm node_modules bind-mounts (symlinked into containers).
This experiment measures whether the same strategy works for other package managers.
Run
# All package managers
bash bench.sh
# Specific ones
bash bench.sh --pm npm
bash bench.sh --pm yarn
bash bench.sh --pm bun
bash bench.sh --pm npm,bun
Scenarios
| # | Scenario | What it tests |
|---|---|---|
| 1 | Cold install | Fresh install, no cache, no node_modules |
| 2 | Warm cache | Global cache populated, but node_modules deleted |
| 3 | Warm modules | node_modules already present, incremental install |
| 4 | Symlink only | Symlink a cached node_modules — no install at all |
Scenario 4 is the interesting one — it's what Agent CI does for PNPM. If it's ≫5× faster than cold install, the warm-modules strategy generalises to all package managers.
Requirements
- npm (bundled with Node)
- yarn v1:
npm i -g yarn - bun:
curl -fsSL https://bun.sh/install | bash