Skip to content

fix(dev): scope pnpm dev to apps, not the whole workspace - #820

Merged
choraria merged 1 commit into
mainfrom
lane/dev-scope-apps
Jul 29, 2026
Merged

fix(dev): scope pnpm dev to apps, not the whole workspace#820
choraria merged 1 commit into
mainfrom
lane/dev-scope-apps

Conversation

@choraria

Copy link
Copy Markdown
Contributor

What

turbo run dev resolved 25 packages — every workspace member, including packages/cli, packages/db and the rest, none of which have a dev script.

Turbo skips them, so nothing was broken. But the task graph claimed the command was about things it has nothing to do with, and each one is a package turbo has to consider before deciding to do nothing.

Filtering to ./apps/* resolves exactly the 11 apps in the port registry — the set pnpm dev is meant to bring up, and now visibly so:

$ turbo run dev --filter='./apps/*' --dry=json
11: api auth dmarc engine get health mcp play telemetry web www

How it was found

turbo run dev --dry=json, rather than starting eleven servers to see what happened. A dry run is the cheap way to check that a task graph says what you meant — and it's the same class of check as the port guard: assert the config agrees with intent instead of discovering it at runtime.

Test plan

  • --dry=json before: 25 packages. After: 11, matching DEV_APPS exactly.
  • Full 33-package typecheck green.

🤖 Generated with Claude Code

`turbo run dev` resolved 25 packages — every workspace member, including
packages/cli, packages/db and the rest, none of which have a `dev` script. Turbo
skips them, so nothing broke, but the task graph said the command was about
things it has nothing to do with, and every one of those is a package turbo has
to consider before deciding to do nothing.

Filtering to `./apps/*` resolves exactly the 11 apps in the port registry —
which is the set `pnpm dev` is meant to bring up, and now visibly so.

Caught by running `turbo run dev --dry=json` rather than starting eleven servers
to find out. A dry run is the cheap way to check a task graph says what you meant.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BRmGUnxeYsQoG9c8BCZcae
@choraria
choraria marked this pull request as ready for review July 29, 2026 12:56
@choraria
choraria merged commit f0bbf99 into main Jul 29, 2026
29 checks passed
@choraria
choraria deleted the lane/dev-scope-apps branch July 29, 2026 12:56
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