Start control-repo checkout before module install #6

Open
opened 2026-11-08 21:28:03 +11:00 by unkin-agent · 0 comments
Member

Problem: the env worktree name includes the resolved-module hash, so checkout waits for every module fetch (including the shared slow bind fetch) and all 300 adds then queue at once.

Proposal: add the env worktree under a temp name as soon as the sha is known, install modules concurrently, then git worktree move to the final name before linking modules.

Acceptance: --timings shows env.worktree overlapping module.fetch; cold-start wall time drops on the 300-branch bench.

Problem: the env worktree name includes the resolved-module hash, so checkout waits for every module fetch (including the shared slow bind fetch) and all 300 adds then queue at once. Proposal: add the env worktree under a temp name as soon as the sha is known, install modules concurrently, then `git worktree move` to the final name before linking modules. Acceptance: `--timings` shows env.worktree overlapping module.fetch; cold-start wall time drops on the 300-branch bench.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/w10k#6