Use WorkerConfiguration instead of WorkerRun.configuration
There are two configurations in base-worker and they have confusing names:
-
BaseWorker.config
is mapped toWorkerVersion.configuration['configuration']
-
BaseWorker.user_configuration
is either a user-provided file if a worker is run locally for debugging, orWorkerRun.configuration
.
user_configuration
should be updated to use WorkerConfiguration.configuration