Page MenuHomePhabricator

[GrowthBook Integration] Disable TKUI experiment authoring and make TK-sourced experiments read-only
Open, MediumPublic

Description

Description

Update TKUI to remove or disable experiment creation and editing functionality in order to ensure past TK-registered experiment data is displayed as read-only.

Technical Notes

GrowthBook-sourced experiments will NOT be mirrored in the TKUI frontend. Only the backend will know about GB-originated experiments for generating the API responses.

Relevant files:

Backend:

  • routes/experiments.js
  • controller/instrumentController.js
  • service/instrumentService.js

Frontend:

  • frontend/src/... relevant experiment create/update views and routes

New files:
likely none; mostly UI and route/permission changes

Currently routes/experiments.js still wires POST /experiments and PUT /experiment/:slug through instrumentController -- this eventually needs to become disabled/read-only

Acceptance Criteria

  • Experiment create/update actions in TKUI are disabled.
  • Backend no longer accepts experiment authoring changes in GrowthBook-only mode.
  • UI shows past TK-originated experiment config in read-only form.
  • Existing instrument authoring remains unaffected unless intentionally changed.
  • UI/integration tests cover read-only behavior.
  • Update link to GB to say "All experiments are now being configured in GrowthBook" with a link to the experiments in GrowthBook

Event Timeline

JVanderhoop-WMF moved this task from Incoming to READY TO GROOM on the Test Kitchen board.
JVanderhoop-WMF raised the priority of this task from Medium to High.May 12 2026, 4:27 PM
JVanderhoop-WMF lowered the priority of this task from High to Medium.May 12 2026, 4:32 PM
cjming renamed this task from [GrowthBook Integration] Disable TKUI experiment authoring and make experiments read-only to [GrowthBook Integration] Disable TKUI experiment authoring and make TK-sourced experiments read-only.Fri, May 15, 7:17 PM
cjming updated the task description. (Show Details)