Skip to content

Commit b760058

Browse files
fix(ci): resync pnpm-lock.yaml and commit workspace manifests on scheduled dep updates (#448)
Scheduled benchmark workflows run 'pnpm -r update', which rewrites dependency specifiers in every workspace package.json as well as pnpm-lock.yaml. The commit step only staged the root package.json, so the lockfile ended up recording specifiers (e.g. @types/node ^20.19.43) that don't match the committed manifests (^20.0.0). Any consumer installing with --frozen-lockfile then fails with ERR_PNPM_OUTDATED_LOCKFILE — this broke the benchmarks-sandbox-cpu-burst scheduled run today. - Regenerate pnpm-lock.yaml so importer specifiers match package.json - Stage packages/*/package.json alongside the root manifest and lockfile in the five result-commit workflows so the tree stays consistent Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent faf7f87 commit b760058

6 files changed

Lines changed: 43 additions & 43 deletions

File tree

‎.github/workflows/browser-benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ jobs:
264264
run: |
265265
git config user.name "github-actions[bot]"
266266
git config user.email "github-actions[bot]@users.noreply.github.com"
267-
git add package.json pnpm-lock.yaml browser.svg results/browser/
267+
git add package.json packages/*/package.json pnpm-lock.yaml browser.svg results/browser/
268268
git diff --cached --quiet && echo "No changes to commit" && exit 0
269269
git commit -m "chore: update browser benchmark results [skip ci]"
270270

‎.github/workflows/browser-throughput-benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ jobs:
318318
run: |
319319
git config user.name "github-actions[bot]"
320320
git config user.email "github-actions[bot]@users.noreply.github.com"
321-
git add package.json pnpm-lock.yaml browser-throughput.svg results/browser-throughput/
321+
git add package.json packages/*/package.json pnpm-lock.yaml browser-throughput.svg results/browser-throughput/
322322
git diff --cached --quiet && echo "No changes to commit" && exit 0
323323
git commit -m "chore: update browser throughput benchmark results [skip ci]"
324324

‎.github/workflows/sandbox-tti-benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ jobs:
323323
run: |
324324
git config user.name "github-actions[bot]"
325325
git config user.email "github-actions[bot]@users.noreply.github.com"
326-
git add package.json pnpm-lock.yaml results.svg *_tti.svg pricing.svg results/
326+
git add package.json packages/*/package.json pnpm-lock.yaml results.svg *_tti.svg pricing.svg results/
327327
git diff --cached --quiet && echo "No changes to commit" && exit 0
328328
git commit -m "chore: update benchmark results [skip ci]"
329329

‎.github/workflows/snapshot-fork-benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ jobs:
325325
run: |
326326
git config user.name "github-actions[bot]"
327327
git config user.email "github-actions[bot]@users.noreply.github.com"
328-
git add package.json pnpm-lock.yaml snapshot_fork_*.svg results/snapshot-fork/
328+
git add package.json packages/*/package.json pnpm-lock.yaml snapshot_fork_*.svg results/snapshot-fork/
329329
git diff --cached --quiet && echo "No changes to commit" && exit 0
330330
git commit -m "chore: update snapshot/fork benchmark results [skip ci]"
331331

‎.github/workflows/storage-benchmarks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ jobs:
305305
run: |
306306
git config user.name "github-actions[bot]"
307307
git config user.email "github-actions[bot]@users.noreply.github.com"
308-
git add package.json pnpm-lock.yaml storage_*.svg results/storage/
308+
git add package.json packages/*/package.json pnpm-lock.yaml storage_*.svg results/storage/
309309
git diff --cached --quiet && echo "No changes to commit" && exit 0
310310
git commit -m "chore: update storage benchmark results [skip ci]"
311311

‎pnpm-lock.yaml‎

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

0 commit comments

Comments
 (0)