Skip to content

Commit c964974

Browse files
committed
fix(setup): stop the wizard offering the removed minimal-registry mode
The setup wizard prompted for a dev server on machines under 16GB and **defaulted** to `dev:full:minimal-registry` — a script this stack deletes. Anyone running `bun run setup` on a low-RAM machine would have accepted the default and hit "Script not found", which is exactly the contributor the mode existed to help. Repointed at `dev:full:capped`, which still exists and caps Node at 4GB without dropping ~250 integrations — a strictly better answer to the same question. The hints were also stale: they warned the full registry "can use 4-5GB+ on its own", which was true when a dev server sat at 11.5GB. It now sits at ~4GB, so they say that instead. Missed by an earlier sweep because the pattern searched for `dev:minimal` and `registry.minimal`, and this string is `dev:full:minimal-registry` — the two halves reversed. Re-swept across every file type for all spellings: zero references remain. Also audited every script value the wizard can return, so the class of bug is checked, not just this instance.
1 parent 3096d3e commit c964974

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/setup/modes/dev.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@ export async function runDevMode(
163163
message: `Low RAM detected (${detection.specs.hostMemGb}GB) — which dev server?`,
164164
options: [
165165
{
166-
value: 'dev:full:minimal-registry',
167-
label: 'Minimal block registry (recommended)',
168-
hint: 'much lower memory — loads fewer integration blocks in dev',
166+
value: 'dev:full:capped',
167+
label: 'Capped heap (recommended)',
168+
hint: 'caps Node at 4GB — every integration still available',
169169
},
170170
{
171171
value: 'dev:full',
172-
label: 'Full registry',
173-
hint: 'every block available — can use 4-5GB+ on its own',
172+
label: 'Uncapped',
173+
hint: 'lets the dev server take what it needs (~4GB typical)',
174174
},
175175
],
176-
initialValue: 'dev:full:minimal-registry',
176+
initialValue: 'dev:full:capped',
177177
})
178178
}
179179
return {

0 commit comments

Comments
 (0)