Skip to content

Commit 6afc4b2

Browse files
committed
feat(FR-2840): migrate to pnpm v11
Upgrade the repo's pnpm runtime from v10 to v11 in a single PR per the spec under `.specs/FR-2840-pnpm-v11-migration/`. - package.json: bump engines.pnpm to ^11.0.0, drop the now-ignored pnpm field, add packageManager pnpm@11.0.8 (overrides moved to pnpm-workspace.yaml). - pnpm-workspace.yaml: convert onlyBuiltDependencies (list) to allowBuilds (map), absorb overrides from package.json, drop minimumReleaseAgeExclude (its entries no longer matched the resolved tree under v11 and triggered metadata-time errors during resolution). - .npmrc: drop engine-strict=true since engines.pnpm enforces this natively in v11; the file is documented as auth/registry-only per pnpm 11 scope. - All 15 pnpm/action-setup invocations across workflows + the daily-test-improver composite action + agentic e2e-watchdog/e2e-healer .md/.lock.yml files now use version: 11. - vitest.yml's lone pnpm/action-setup@v4 bumped to @v5 (cleanup observed during PR #7297 review). - pnpm-lock.yaml regenerated under pnpm 11 via `pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile`.
1 parent d5f78df commit 6afc4b2

17 files changed

Lines changed: 4652 additions & 12328 deletions

.github/actions/daily-test-improver/coverage-steps/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
- name: Install pnpm
99
uses: pnpm/action-setup@v5
1010
with:
11-
version: 10
11+
version: 11
1212
run_install: false
1313

1414
- name: Setup Node.js
@@ -36,7 +36,7 @@ runs:
3636
shell: bash
3737
run: |
3838
echo "Step: Installing dependencies..." >> coverage-steps.log
39-
pnpm install --no-frozen-lockfile 2>&1 | tee -a coverage-steps.log
39+
pnpm install --no-frozen-lockfile --config.minimum-release-age=0 2>&1 | tee -a coverage-steps.log
4040
4141
# Step 3: Build and test React project with coverage
4242
- name: Build React GraphQL types

.github/aw/actions-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"version": "v0.34.5",
3131
"sha": "3de4a6a6d15bb07764b207e40da8c7047474a335"
3232
},
33-
"pnpm/action-setup@v4": {
33+
"pnpm/action-setup@v5": {
3434
"repo": "pnpm/action-setup",
35-
"version": "v4",
36-
"sha": "c5ba7f7862a0f64c1b1a05fbac13e0b8e86ba08c"
35+
"version": "v5",
36+
"sha": "a8198c4bff370c8506180b035930dea56dbd5288"
3737
}
3838
}
3939
}

.github/workflows/e2e-healer.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/e2e-healer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ steps:
6060
- uses: actions/setup-node@v4
6161
with:
6262
node-version: '20'
63-
- uses: pnpm/action-setup@v4
63+
- uses: pnpm/action-setup@v5
6464
with:
65-
version: 10
65+
version: 11
6666
- name: Print E2E endpoints
6767
run: |
6868
echo "=== E2E Test Configuration ==="

.github/workflows/e2e-watchdog.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/e2e-watchdog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ steps:
5151
- uses: actions/setup-node@v4
5252
with:
5353
node-version: '20'
54-
- uses: pnpm/action-setup@v4
54+
- uses: pnpm/action-setup@v5
5555
with:
56-
version: 10
56+
version: 11
5757
- name: Print E2E endpoints
5858
run: |
5959
echo "=== E2E Test Configuration ==="

.github/workflows/package.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: pnpm/action-setup@v5
4646
name: Install pnpm
4747
with:
48-
version: 10
48+
version: 11
4949
run_install: false
5050

5151
- name: Install Node.js
@@ -55,7 +55,7 @@ jobs:
5555
cache: 'pnpm'
5656

5757
- name: Install Dependencies
58-
run: pnpm install --no-frozen-lockfile
58+
run: pnpm install --no-frozen-lockfile --config.minimum-release-age=0
5959

6060
- name: Build web assets
6161
run: make dep_web
@@ -100,7 +100,7 @@ jobs:
100100
- uses: pnpm/action-setup@v5
101101
name: Install pnpm
102102
with:
103-
version: 10
103+
version: 11
104104
run_install: false
105105

106106
- name: Install Node.js
@@ -110,7 +110,7 @@ jobs:
110110
cache: 'pnpm'
111111

112112
- name: Install Dependencies
113-
run: pnpm install --no-frozen-lockfile
113+
run: pnpm install --no-frozen-lockfile --config.minimum-release-age=0
114114

115115
- name: Download web build artifacts
116116
uses: actions/download-artifact@v5
@@ -168,7 +168,7 @@ jobs:
168168
- uses: pnpm/action-setup@v5
169169
name: Install pnpm
170170
with:
171-
version: 10
171+
version: 11
172172
run_install: false
173173

174174
- name: Install Node.js
@@ -178,7 +178,7 @@ jobs:
178178
cache: 'pnpm'
179179

180180
- name: Install Dependencies
181-
run: pnpm install --no-frozen-lockfile
181+
run: pnpm install --no-frozen-lockfile --config.minimum-release-age=0
182182

183183
- name: Download web build artifacts
184184
uses: actions/download-artifact@v5
@@ -234,7 +234,7 @@ jobs:
234234
- uses: pnpm/action-setup@v5
235235
name: Install pnpm
236236
with:
237-
version: 10
237+
version: 11
238238
run_install: false
239239

240240
- name: Install Node.js
@@ -244,7 +244,7 @@ jobs:
244244
cache: 'pnpm'
245245

246246
- name: Install Dependencies
247-
run: pnpm install --no-frozen-lockfile
247+
run: pnpm install --no-frozen-lockfile --config.minimum-release-age=0
248248

249249
# backend.ai-docs-toolkit ships its `docs-toolkit` CLI as the package
250250
# bin, but it lives at dist/cli.js which only exists after `tsc` runs.
@@ -255,7 +255,7 @@ jobs:
255255
- name: Build docs-toolkit and link CLI
256256
run: |
257257
pnpm --filter backend.ai-docs-toolkit run build
258-
pnpm install --no-frozen-lockfile
258+
pnpm install --no-frozen-lockfile --config.minimum-release-age=0
259259
260260
# Cache the Playwright browser binaries (~150 MB Chromium download).
261261
# The lockfile hash keys the cache so a Playwright version bump

.github/workflows/publish-backend.ai-docs-toolkit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: pnpm/action-setup@v5
2222
name: Install pnpm
2323
with:
24-
version: 10
24+
version: 11
2525
run_install: false
2626
- name: Install Node.js
2727
uses: actions/setup-node@v5

.github/workflows/publish-backend.ai-ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: pnpm/action-setup@v5
2222
name: Install pnpm
2323
with:
24-
version: 10
24+
version: 11
2525
run_install: false
2626
- name: Install Node.js
2727
uses: actions/setup-node@v5

.github/workflows/vitest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- uses: pnpm/action-setup@v5
6060
name: Install pnpm
6161
with:
62-
version: 10
62+
version: 11
6363
run_install: false
6464
- uses: actions/setup-node@v5
6565
with:
@@ -78,7 +78,7 @@ jobs:
7878
${{ runner.os }}-pnpm-store-
7979
- name: Install dependencies
8080
working-directory: .
81-
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile
81+
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile --config.minimum-release-age=0
8282
- name: Run ESLint on React
8383
run: pnpm run lint
8484
- name: Run relay-compiler
@@ -104,7 +104,7 @@ jobs:
104104
- uses: pnpm/action-setup@v5
105105
name: Install pnpm
106106
with:
107-
version: 10
107+
version: 11
108108
run_install: false
109109
- uses: actions/setup-node@v5
110110
with:
@@ -123,7 +123,7 @@ jobs:
123123
${{ runner.os }}-pnpm-store-
124124
- name: Install dependencies
125125
working-directory: .
126-
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile
126+
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile --config.minimum-release-age=0
127127
- name: Run ESLint on backend.ai-ui
128128
run: pnpm run lint
129129
- name: Run relay-compiler
@@ -143,10 +143,10 @@ jobs:
143143
runs-on: ubuntu-latest
144144
steps:
145145
- uses: actions/checkout@v4
146-
- uses: pnpm/action-setup@v4
146+
- uses: pnpm/action-setup@v5
147147
name: Install pnpm
148148
with:
149-
version: 10
149+
version: 11
150150
run_install: false
151151
- uses: actions/setup-node@v5
152152
with:
@@ -164,7 +164,7 @@ jobs:
164164
restore-keys: |
165165
${{ runner.os }}-pnpm-store-
166166
- name: Install dependencies
167-
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile
167+
run: pnpm install --merge-git-branch-lockfiles --no-frozen-lockfile --config.minimum-release-age=0
168168
- name: Run Vitest with coverage
169169
run: pnpm exec vitest run --coverage
170170
- name: Report coverage on PR

0 commit comments

Comments
 (0)