Skip to content

fix(ci): make the worker fixture its own pnpm workspace root - #8

Merged
shixish merged 1 commit into
mainfrom
fix/worker-fixture-workspace
Nov 27, 2026
Merged

shixish merged 1 commit into
mainfrom
fix/worker-fixture-workspace

Conversation

@shixish

@shixish shixish commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Tests on main has failed since fe3b6d4 ("pnpm workspace file", 2026-11-24): cloudflare worker fixture → ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "wrangler" not found.

Cause: with a root pnpm-workspace.yaml, pnpm treats fixtures/worker as part of the root workspace, so pnpm install --frozen-lockfile in that directory doesn't install the fixture's own devDependencies. The same workers job gates release.yml, so the next real release would fail too.

Fix: add fixtures/worker/pnpm-workspace.yaml so the fixture is its own workspace root again (with its existing pnpm-lock.yaml), and carry its onlyBuiltDependencies list there. The root file is unchanged.

Found while landing #7, which is blocked by this.

🤖 Generated with Claude Code

The root pnpm-workspace.yaml (fe3b6d4) made pnpm treat fixtures/worker as
part of the root workspace, so `pnpm install` there no longer installed
wrangler/vitest and the cloudflare worker fixture job failed in Tests and
as a gate in release.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shixish
shixish merged commit 0bb1f40 into main Nov 27, 2026
4 checks passed
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.

1 participant