Software · Data Engineering

Feature flags moved to a new platform without disrupting the teams

A Python tool translates, validates and migrates feature flags, feature groups and client configurations from a retiring system to its successor, one at a time or in bulk.

Feature flags, groups and cross-team groups migrate between environments automatically, without disrupting the teams that depend on them.

The operating problem

A release-control system had to move, with every flag and audience rule

A controlled-release system lets teams ship features to production and switch them on or off for chosen audiences. Rules cover user profile data, defaults such as on, off or a percentage rollout, and individual rules by email, domain or IP address.

As the older platform reached end of life, the system moved to a new instance. Flags, feature groups and cross-team feature groups all had to be rebuilt there.

What Ganit engineered

A migration tool that translates, validates and synchronises

The tool converts exported configurations into the new system’s format and maps targeting, variations and client associations. It supports single and bulk runs, with full logging and error tracking.

Python.

  1. Flag Translation

    Transforms exported JSON into payloads the new system accepts, keeping configuration intact.

  2. Dry-run Validation

    Checks every dependency for a feature group without creating it.

  3. Audience Logic Handling

    Processes complex AND, OR and NOT audience structures recursively.

  4. Bulk Migration

    Runs individual or bulk migrations with comprehensive logging and error tracking.

How the work changed

From recreating flags by hand to a repeatable migration

Current stateThe gapDesired state
Flags and groups had to be rebuilt in the new instance.A tool migrates them automatically across environments.
Complex audience rules risked translation errors.Mapping and validation preserve targeting and variations.
Migration risked disrupting the teams that use the flags.A dry-run mode checks first; teams carry on undisturbed.

What closed the gapFlag Translation · Dry-run Validation · Audience Logic Handling · Bulk Migration

Next story · TelecomOne governed data warehouse to feed analytics and ML150+man-hours saved by automating manual work