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