Repository navigation
Assign setup guide experiment variants on the server - #7170
Merged
Merged
Conversation
The server evaluates the setup-guide-redesign flag once per run, saves the assignment in the data directory, serves the variant at GET /api/v1/system/setup-guide, records the exposure the app reports, and tags setup guide events with the variant. BB_SETUP_GUIDE_VARIANT forces a variant for QA. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The flags response's errorsWhileComputingFlags field was parsed but never read. The route test for the telemetry-off default and the repeat-request check repeat the experiment's unit tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
brsbl
added a commit
that referenced
this pull request
Nov 6, 2026
The setup guide stack this branch sat on merged into main as #7170-#7176, so this keeps main's version of every stack file and reapplies only the featured-plugins experiment on top. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The setup guide redesign needs an A/B experiment, and nothing assigns an install to a guide variant yet. This layer adds server-side assignment only; the app starts reading it in the guide layer.
What changed
controlornew, from thesetup-guide-redesignPostHog flag.controlwhen telemetry is off, the flag is missing, or the request fails.GET /api/v1/system/setup-guidereturns{ variant }. It is not an SDK or CLI surface.BB_SETUP_GUIDE_VARIANT=control|newforces the variant for QA.onboarding_exposedevent saves the assignment and sends$feature_flag_calledwhen the flag decided it.setup_guide_variantto every setup-guide event.docs/configuration.mddocuments the route behavior, env var and exposure event.How you verified
🤖 Generated with Claude Code
BB-Thread-ID: thr_hbwn9dvks2