Skip to content

fix(cli): add sandbox to --fast beta features list#3400

Open
la14-1 wants to merge 1 commit intomainfrom
fix/fast-sandbox-flag
Open

fix(cli): add sandbox to --fast beta features list#3400
la14-1 wants to merge 1 commit intomainfrom
fix/fast-sandbox-flag

Conversation

@la14-1
Copy link
Copy Markdown
Member

@la14-1 la14-1 commented May 10, 2026

Why: Users who explicitly pass --fast get a different (incomplete) feature set compared to the A/B experiment's test variant. The test variant correctly includes ["images", "docker", "sandbox"] via expandFastProvisionVariant(), but the --fast path at line 967 was missing "sandbox". This contradicts the documented intent from #3398 ("Add sandbox to --fast so the explicit user opt-in exercises the same surface as the silent experiment") and means --fast users miss the local sandbox container feature.

Change

packages/cli/src/index.ts:967:

- betaFeatures.push("tarball", "images", "parallel", "docker");
+ betaFeatures.push("tarball", "images", "parallel", "docker", "sandbox");

Verification

  • Biome: 0 errors
  • Tests: 2186 pass, 2 fail (same 2 pre-existing failures on main, not caused by this change)

-- refactor/code-health

The --fast flag was missing "sandbox" from its betaFeatures.push() call
while the fast_provision experiment's test variant (via
expandFastProvisionVariant) correctly included it. This meant users who
explicitly passed --fast got a different (incomplete) feature set compared
to A/B test participants, contradicting the intent documented in #3398.

Agent: code-health
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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