Skip to content

Add server-side A/B test for the new Puzzles Hub - #16483

Open
gustavo-olmedo wants to merge 2 commits into
mainfrom
add-puzzles-hub-ab-test
Open

Add server-side A/B test for the new Puzzles Hub#16483
gustavo-olmedo wants to merge 2 commits into
mainfrom
add-puzzles-hub-ab-test

Conversation

@gustavo-olmedo

@gustavo-olmedo gustavo-olmedo commented Jul 30, 2026

Copy link
Copy Markdown

What does this change?

Adds puzzles as a supported A/B test team prefix and registers a new server-side experiment for the Puzzles Hub:

  • Test name: puzzles-new-hub
  • Groups: control and variant
  • Initial audience: 0%
  • Expirantion date: 2026-12-31

The initial audience is intentionally set to zero so the experiment can be validated through forced opt-in before enabling an organic rollout.

How to test

After deploying the A/B testing configuration, force the variant with:

https://www.theguardian.com/ab-tests/opt-in/puzzles-new-hub:variant

Force the control group with:

https://www.theguardian.com/ab-tests/opt-in/puzzles-new-hub:control

Opt out with:

https://www.theguardian.com/ab-tests/opt-out/puzzles-new-hub

Validation

  • A/B test configuration validation passes
  • TypeScript compilation passes
  • ESLint passes
  • Prettier check passes
  • package tests pass

Follow-up work

Frontend and DCR will consume puzzles-new-hub from serverSideABTests to place the new Puzzles Hub routes, navigation and components behind the experiment.

The organic audience will remain at 0% until the control and variant experiences have been deployed and validated.

@gustavo-olmedo gustavo-olmedo added feature Departmental tracking: work on a new feature ab-testing labels Jul 30, 2026
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

@gustavo-olmedo
gustavo-olmedo marked this pull request as ready for review July 30, 2026 10:12
@gustavo-olmedo
gustavo-olmedo requested a review from a team as a code owner July 30, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ab-testing feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant