Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@cloudflare/workers-utils": "workspace:*",
"chalk": "catalog:default",
"ci-info": "catalog:default",
"cross-spawn": "7.0.6",
"cross-spawn": "7.1.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 Stale lockfile blocks workspace installs

The cross-spawn bump leaves the CLI lockfile entry at 7.0.6. The CI install step rejects the mismatch before builds or tests can run.

Learn more

The workspace lockfile records which version each workspace package requests and which version pnpm resolves. The CLI lockfile entry still records 7.0.6 for both. The PR checks install dependencies through the shared dependency action, which uses --frozen-lockfile and cannot reconcile the mismatch.

Example: On a clean checkout of this PR, the Checks job requests a frozen install. The CLI requests 7.1.0 while the lockfile records 7.0.6, so the install fails before validation starts.

Recommended fix: Run pnpm install --no-frozen-lockfile from the workspace root using the repository-pinned pnpm version and commit the generated lockfile. Verify that pnpm install --frozen-lockfile succeeds with the regenerated lockfile.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔍 Windows argument handling needs a smoke test

The command tests mock spawn, so they cannot catch Windows argument changes. runFrameworkGenerator forwards user arguments through that path when scaffolding projects.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ WARNING · Code Quality

pnpm-lock.yaml still pins cross-spawn 7.0.6 for packages/cli (pnpm-lock.yaml:1869-1871). The pnpm install --frozen-lockfile step at .github/actions/install-dependencies/action.yml:65, used by the CI and release workflows, will fail.

This line bumps cross-spawn to 7.1.0, but this pull request does not change pnpm-lock.yaml. Its packages/cli importer (lines 1869-1871) still records specifier: 7.0.6, and there is no cross-spawn@7.1.0 entry. The shared install step runs pnpm install --frozen-lockfile (.github/actions/install-dependencies/action.yml:65), and test, changesets and prerelease all use it. Those installs will fail with an outdated-lockfile error on this branch, and on main after merge. Run pnpm install and commit the regenerated lockfile (or ask Dependabot to recreate the pull request).

"log-update": "5.0.1"
},
"devDependencies": {
Expand Down
Loading