mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
128 stars 41 forks source link

[Bug]: Default waffle switches are not automatically added during local dev #15143

Closed KevinMind closed 1 week ago

KevinMind commented 2 weeks ago

What happened?

When running make up with a totally fresh database

make up INIT_CLEAN=true

You end up with no waffle switches/flags even for the ones which we should expect for local development like those created during a migration.

What did you expect to happen?

Any waffle switch which is created in the on state should be created during data seeding and potentially we should even create all waffle switches that are referenced (somehow) to ensure smooth local development and testing

Is there an existing issue for this?

┆Issue is synchronized with this Jira Task

willdurand commented 2 weeks ago

Waffle switches/flags are created by migrations but not every switch has a migration.