mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-10-19 09:13:28 +00:00
feat(cli): narrow fast_provision experiment to images-only (#3371)
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:
parent
c907359fb1
commit
55990700b6
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "1.0.25",
|
||||
"version": "1.0.26",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue