Skip to content

jetstream preview --generate-population ... hard-codes branch = "control" #3217

@ncalexan

Description

@ncalexan

I'm trying to work on a custom configuration, which I thought I could do using jetstream preview. I've ended up with:

jetstream preview --config-repos=/Users/nalexander/firefox/metric-hub --config-repos=/Users/nalexander/firefox/metric-hub/jetstream --platform fenix --use-glean-ids --sql-output-dir=output --experiment-slug=all-users-day-5-reengagement-push --start-date='2026-05-20' --num-days=2 --generate-population --population-sample-size=2 --enrollment-period=2

in order to look at a few days data. I can't remember why, but I needed --generate-population in order to be able to control something, perhaps the sample size.

But this command hard-codes the branch as "control", which makes it hard to work with my data -- the interesting events only occur for the treatment branch!

Am I just doing this wrong, and I should be doing something different to avoid the weird preview hard-coded SQL snippets?

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions