Page MenuHomePhabricator

[GrowthBook Integration] Remove stitching logic and transition to GrowthBook-only service
Open, MediumPublic

Description

Description

After validating GrowthBook-based delivery, remove TKUI as a configuration source and eliminate the stitching component, leaving a single-source experiment configuration service.

This is the planned simplification step after migration is complete.

Technical Notes

Relevant files:

  • service/experimentStitcher.js
  • service/tkuiExperimentSource.js
  • service/tkuiExperimentValidator.js
  • service/adapters/tkuiToAdapter.js
  • config/*.yaml
  • controller/experimentController.js
  • service/experimentConfigurationService.js

New files:
none - mostly cleanup/removal

Acceptance Criteria

  • TKUI is no longer used as an experiment configuration source.
  • Communicate that TKUI is no longer used as an experiment configuration source :)
  • Stitcher and TKUI-specific delivery logic are removed or disabled.
  • API serves GrowthBook-backed experiment configurations only.
  • Source-mode config is simplified appropriately.
  • Tests are updated to remove migration-only assumptions while preserving GrowthBook experiment config delivery coverage.
  • skip the TK load entirely in fetchContext()
  • remove TK failure is fatal
  • rename or retire the partial polls outcome
  • remove config-layer fallback that forces default of include_tk: true when both source config variables are false

Event Timeline

JVanderhoop-WMF raised the priority of this task from Medium to High.May 12 2026, 4:26 PM
JVanderhoop-WMF lowered the priority of this task from High to Medium.May 12 2026, 4:32 PM