Skip to content

Add A/B EditorialTest model types to FEFrontCard - #16486

Merged
abeddow91 merged 6 commits into
mainfrom
add-ab-test-model
Aug 13, 2026
Merged

abeddow91 merged 6 commits into
mainfrom
add-ab-test-model

Conversation

@simonbyford

@simonbyford simonbyford commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

What does this change?

Plumbs the front card Test model, by introducing the an optional tests field on FEFrontCard model. As the tests field is optional, this change is backwards compatible. The EditorialTest model removes any PII data fields so these are ignored by DCR. At the moment, these are still sent from Frontend but there is a PR in progress to full remove these fields before they are sent to DCR.

This PR does not implement editorial testing. This will be achieved in a follow up PR.

Schemas have also been freshly generated to account for these model changes.

Why?

This is required to send editorial a/b test information from frontend to DCR.

How has this change been tested?

Deployed branch to CODE and tested on fronts with and without a tests field. Fronts rendered without issue.

@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

…recieve a string in the frontend json, not an enum. This can be manually converted later during enhancement if needed.
@abeddow91 abeddow91 added the feature Departmental tracking: work on a new feature label Aug 5, 2026
@abeddow91
abeddow91 requested review from Fweddi and emma-imber August 5, 2026 08:37
@abeddow91
abeddow91 marked this pull request as ready for review August 5, 2026 08:37
@github-actions

github-actions Bot commented Aug 5, 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.

@abeddow91 abeddow91 linked an issue Aug 5, 2026 that may be closed by this pull request
Comment thread dotcom-rendering/src/types/front.ts Outdated
@abeddow91 abeddow91 changed the title Add A/B test model types to FEFrontCard Add A/B EditorialTest model types to FEFrontCard Aug 13, 2026
@abeddow91 abeddow91 added the run_chromatic Runs chromatic when label is applied label Aug 13, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Aug 13, 2026
@abeddow91
abeddow91 added this pull request to the merge queue Aug 13, 2026
Merged via the queue into main with commit 4ed73d2 Aug 13, 2026
38 checks passed
@abeddow91
abeddow91 deleted the add-ab-test-model branch August 13, 2026 10:36
@gu-prout

gu-prout Bot commented Aug 13, 2026

Copy link
Copy Markdown

Seen on PROD (created by @simonbyford and merged by @abeddow91 7 minutes and 59 seconds ago) Please check your changes!

@groakland groakland added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Sep 3, 2026
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 maintenance Departmental tracking: maintenance work, not a fix or a feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Model: DCR

5 participants