Skip to content

Gate editorial ab tests behind a feature switch - #16597

Open
abeddow91 wants to merge 2 commits into
ei/use-variant-headlines-in-testfrom
ab/gate-editorial-ab-tests-behind-switch
Open

Gate editorial ab tests behind a feature switch#16597
abeddow91 wants to merge 2 commits into
ei/use-variant-headlines-in-testfrom
ab/gate-editorial-ab-tests-behind-switch

Conversation

@abeddow91

@abeddow91 abeddow91 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Checks that the editorial ab testing feature switch has been enabled when deciding which headline to render. Feature switches are controlled via the Switchboard

In order to check this, feature switches have been prop drilled from the config through to the enhanceCard function.

The PR to add the feature switch to the switchboard can be found here guardian/frontend#29124

Why?

This is a safety mechanism to allow editorial ab testing to be turned off centrally, if required. This might be necessary, for example, in the event of a major incident.

@abeddow91
abeddow91 marked this pull request as ready for review August 24, 2026 15:56
@abeddow91
abeddow91 requested a review from a team as a code owner August 24, 2026 15:56
@abeddow91 abeddow91 added the feature Departmental tracking: work on a new feature label Aug 24, 2026
@github-actions

Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a way to disable headline A/B testing during major incidents, for individual fronts & all

1 participant