diff --git a/plugins/scaffolder-backend/src/service/router.ts b/plugins/scaffolder-backend/src/service/router.ts index 2c9df0c8c4..a48bcb46b0 100644 --- a/plugins/scaffolder-backend/src/service/router.ts +++ b/plugins/scaffolder-backend/src/service/router.ts @@ -309,6 +309,9 @@ export async function createRouter( // TODO(blam): it's a little unfortunate that you have to restart the scaffolder // backend in order to pick these up. We should really just make `ActionsRegistry.get()` async // and then we can move this logic into the there instead. + // But we can't make those changes until next major. + // Alternatively, we could look at setting up a periodic task that refreshes the actions registry, but + // not feeling that it's worth the complexity. const { actions: distributedActions } = await actionsRegistry.list({ credentials: await auth.getOwnServiceCredentials(), });