Repository navigation
feat(install): one workspace install per lane (0.20.0) - #19
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-turboandcloudflare-workers-assets-turbonow mark the installscope: lane:workspaceDir), so every component's step is the same step and shares. A workspace install from any directory installs the whole workspace anyway.scopeand runs the step per job at the root, which is what it did before from the component directory.scripts/verify.shpasses. 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