Skip to content

Rename headline AB test to support other editorial AB tests (eg articles) - #16684

Merged
Fweddi merged 1 commit into
mainfrom
fp/expand-name-of-platform-ab-test
Sep 7, 2026
Merged

Rename headline AB test to support other editorial AB tests (eg articles)#16684
Fweddi merged 1 commit into
mainfrom
fp/expand-name-of-platform-ab-test

Conversation

@Fweddi

@Fweddi Fweddi commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What does this change?

We're now going to use this same test to cover article AB tests, as creating a new one would take up even more test space, and they are functionally equivalent in segmenting the audience into a 50/50 test (used to drive editorial 'sub-tests').

I was originally planning to rename in #16673 but I think it's best we rename in a separate PR to unlink the rollout of the test to the renaming (downstream applications like Ophan might care about the renaming, and we don't want to break that dependency at the same time we release).

@Fweddi
Fweddi requested a review from a team as a code owner September 4, 2026 09:09
@github-actions

github-actions Bot commented Sep 4, 2026

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.

@Fweddi
Fweddi force-pushed the fp/expand-name-of-platform-ab-test branch from 2d7aedb to f1d57ea Compare September 7, 2026 13:36
@Fweddi
Fweddi enabled auto-merge September 7, 2026 13:36
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:0a38b468e207979c116524eb2066031f7dfb9fae5d69c1b97c59ae5e5a5c2714

🐛 Run the image locally

The following can be used to run the image locally:

# Refer to image using the immutable digest. Find alternatives below.
IMAGE_IDENTIFIER="@sha256:0a38b468e207979c116524eb2066031f7dfb9fae5d69c1b97c59ae5e5a5c2714"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-fp-expand-name-of-platform-ab-test"

# Refer to image using build tag
# IMAGE_IDENTIFIER=":build-30875"

# Refer to image via the GitHub commit SHA tag
# IMAGE_IDENTIFIER=":sha-f1d57eab8ae161f0537e90790f4422602e336085"

# Set environment variables for the AWS CLI
AWS_PROFILE="<A_PROFILE_FROM_JANUS>"
AWS_DEFAULT_REGION="eu-west-1"

IMAGE_ACCOUNT_ID=$(aws ssm get-parameter --name /organisation/accounts/deployTools --query "Parameter.Value" --output text)
REGISTRY="${IMAGE_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
IMAGE="${REGISTRY}/guardian/dotcom-rendering${IMAGE_IDENTIFIER}"

# Login to AWS ECR https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html
aws ecr get-login-password | docker login --username AWS --password-stdin $REGISTRY

# Pull the image
docker pull $IMAGE

# Run the image. You'll likely need to set additional flags. See https://docs.docker.com/reference/cli/docker/container/run.
docker run $IMAGE

From guardian/actions-publish-image.

@Fweddi Fweddi added the run_chromatic Runs chromatic when label is applied label Sep 7, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Sep 7, 2026
@Fweddi
Fweddi added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 0757a1b Sep 7, 2026
37 checks passed
@Fweddi
Fweddi deleted the fp/expand-name-of-platform-ab-test branch September 7, 2026 14:28
@gu-prout

gu-prout Bot commented Sep 7, 2026

Copy link
Copy Markdown

Seen on PROD (merged by @Fweddi 9 minutes and 3 seconds ago) Please check your changes!

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 Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename headline AB test to support other editorial AB tests (eg articles)

2 participants