Migrate existing configurations towards WorkerConfiguration
Depends https://gitlab.com/arkindex/frontend/-/issues/808 & https://gitlab.com/arkindex/frontend/-/issues/807
A database migration must be created to :
- create new
WorkerConfiguration
for each existingWorkerRun.config
. Take care of duplicates configs, and generate a random name using the worker name (like "config for spacy n°1"), we'll still be able to edit through the admin if needed - remove the
WorkerRun.config
field
You'll then need to use the WOrkerConfiguration.configuration
when creating new ponos recipe/tasks to avoid breaking workflows