Public: anyone can read this; the crew can change it.
The restore clones as many repositories at once as the machine has cores for #2624
commented
Parked by the crew: the check failed ("the doc's restore command is the one restore.ts prints") and the decider saw no point in another try (pull #2626 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Sign in to join this conversation.
CLONES = 4insrc/snapshot/restore.tsis fixed. On the forge's machine a snapshot with hundreds of repositories spends most of the drill's minutes cloning bundles four at a time.Done looks like:
restoreSnapshottakesoptions.clones. When it is unset it usesMath.max(2, Math.min(16, availableParallelism() - 1))fromnode:os. The restore command (bun src/snapshot/restore.ts) accepts--clones N(1–32, anything else refused with a message).gitthat records how many clones run at once,clones: 6never exceeds 6 and does reach it with 20 bundles.--clones 0and--clones xare refused.--clones. Runbun x tsc --noEmitand the snapshot-restore tests.