Skip to content

feat(install): one workspace install per lane (0.20.0) - #19

Merged
pullely merged 1 commit into
mainfrom
claude/lane-shared-install
Oct 14, 2026
Merged

pullely merged 1 commit into
mainfrom
claude/lane-shared-install

Conversation

@pullely

@pullely pullely commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Every job of a lane runs the same pnpm install --frozen-lockfile. A lane of twelve workers ran it twelve times on one runner, at once: about 25 s per job on the v19 bootstrap, plus the CPU the deploys then waited on.

cloudflare-worker-turbo and cloudflare-workers-assets-turbo now mark the install scope: lane:

  • orun ≥ 2.78.2 (lanes: a lane-scoped install may follow the setup actions it needs orun#761) runs it once in the shared source tree, after the setup actions and before each job's private tree is staged. The other jobs of the lane wait for that run and reuse it.
  • It runs at the monorepo root (workspaceDir), so every component's step is the same step and shares. A workspace install from any directory installs the whole workspace anyway.
  • An older orun ignores scope and runs the step per job at the root, which is what it did before from the component directory.

scripts/verify.sh passes. Version 0.20.0. A product that pins this stack must pin orun v2.78.2 or newer in its CI, or the planner refuses the lane-scoped step.

🤖 Generated with Claude Code

Every job of a lane runs the same `pnpm install --frozen-lockfile`, and a
lane of twelve workers ran it twelve times on one runner, at once — the
step the lane spec measured at ~40 s per job, and the CPU the deploys then
waited on. cloudflare-worker-turbo and cloudflare-workers-assets-turbo mark
it `scope: lane`: orun ≥ 2.78.2 runs it once in the shared source tree,
after the setup actions and before each job's private tree is staged, and
the other jobs reuse it. It runs at the monorepo root (`workspaceDir`) so
every component's step is the same step; a workspace install from any
directory installs the whole workspace anyway. An older orun ignores
`scope` and runs it per job at the root.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pullely
pullely merged commit 24895a3 into main Oct 14, 2026
3 checks passed
@pullely
pullely deleted the claude/lane-shared-install branch October 14, 2026 19:42
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.

2 participants