Skip to content

revert(cli): posthog feature flags + fast_provision experiment (#3366)#3370

Closed
la14-1 wants to merge 1 commit intomainfrom
spa-revert-3366
Closed

revert(cli): posthog feature flags + fast_provision experiment (#3366)#3370
la14-1 wants to merge 1 commit intomainfrom
spa-revert-3366

Conversation

@la14-1
Copy link
Copy Markdown
Member

@la14-1 la14-1 commented Apr 29, 2026

Summary

Rollback of #3366 per request.

Reverts the squash commit f7652de4 (which included my follow-up review fixes from #3366 — pick/feedback fast-path skip and real SWR). Those fixes only existed because the feature-flag module existed, so they go with it.

Net effect on users

  • No more /decide fetch at startup — the up-to-1.5s cold-cache path is gone for everyone.
  • fast_provision experiment is off. Users who did not pass --beta/--fast revert to the old provisioning defaults (no tarball/images by default) instead of the test-variant defaults.
  • Persistent install-id at ~/.config/spawn/.telemetry-id keeps working — telemetry.ts is restored to its pre-feat(cli): posthog feature flags + fast_provision experiment #3366 inline loadOrCreateUserId() that writes the same path, so existing users keep their PostHog identity.

Notes

  • feature-flags-cache.json files left on disk by anyone who ran the shipped 1.0.23 become dead data. Harmless; no migration needed.
  • Bumps CLI to 1.0.24 (per the cli-version rule — any packages/cli/ change).
  • If PostHog's fast_provision experiment is still live in the dashboard, disable it or drop its rollout to 0 % so the exposure events stop flowing.

Test plan

  • bunx @biomejs/biome check src/ — 0 errors
  • bun test — 2112 pass, 0 fail
  • CI green on this PR

Filed from Slack by SPA

…3366)"

This reverts commit f7652de.

Rolling back on request. Net effect on users:

  * No more /decide fetch at startup — the up-to-1.5s cold-cache path
    is gone for everyone.
  * `fast_provision` experiment is off. Users who did NOT pass
    --beta/--fast get the old provisioning defaults (no tarball/images)
    instead of the test-variant defaults.
  * The persistent install-id file at ~/.config/spawn/.telemetry-id
    continues to exist — telemetry.ts is restored to its pre-#3366
    inline loadOrCreateUserId() that writes the same path, so existing
    users keep their PostHog identity.

Also reverts the follow-up review fixes in that PR (pick/feedback
fast-path skip and real SWR) since they only exist because the feature
flag system existed.

The feature-flags-cache.json left on disk by any user who ran the
shipped version becomes dead data; it's ignored when the module is
gone. No migration needed.
@la14-1
Copy link
Copy Markdown
Member Author

la14-1 commented Apr 29, 2026

Closing per request — not rolling back #3366 after all. Keeping the feature-flag plumbing + fast_provision experiment in place.

@la14-1 la14-1 closed this Apr 29, 2026
@la14-1 la14-1 deleted the spa-revert-3366 branch April 29, 2026 16:24
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