feat(cli): narrow fast_provision experiment to images-only (#3371)
Some checks are pending
CLI Release / Build and release CLI (push) Waiting to run
Lint / macOS Compatibility (push) Waiting to run
Lint / ShellCheck (push) Waiting to run
Lint / Biome Lint (push) Waiting to run

Drop `tarball` from the experiment's `test` variant so the A/B
hypothesis isolates the marketplace-image speedup. Tarball install
remains available via `--beta tarball` and `--fast` for power users —
just no longer auto-applied to bucketed users.

Bumps version to 1.0.24.
This commit is contained in:
Ahmed Abushagur 2026-04-29 09:41:54 -07:00 • committed by GitHub
parent c907359fb1
commit 55990700b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "1.0.25",
"version": "1.0.26",
"type": "module",
"bin": {
"spawn": "cli.js"

View file

@ -959,12 +959,12 @@ async function main(): Promise<void> {
// fast_provision experiment: if the user did NOT pass --beta or --fast,
// bucket them on the PostHog `fast_provision` flag. The `test` variant
// turns on tarball + images by default; control behaves as before.
// turns on images by default; control behaves as before.
// Exposure is captured for both variants so PostHog can compute conversion.
if (!userOptedIntoBeta) {
const variant = getFeatureFlag("fast_provision", "control");
if (variant === "test") {
betaFeatures.push("tarball", "images");
betaFeatures.push("images");
}
}