From e3b7b4cf635ef3b25fb84bd6f7c1d6d830ca99b9 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 29 Apr 2026 20:19:28 +0100 Subject: [PATCH] fix(channels): keep lazy bundled discovery off staged deps --- src/channels/plugins/bundled.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/channels/plugins/bundled.ts b/src/channels/plugins/bundled.ts index d9a0923ce0c..021b4e431e5 100644 --- a/src/channels/plugins/bundled.ts +++ b/src/channels/plugins/bundled.ts @@ -551,7 +551,9 @@ function getBundledChannelPluginForRoot( loadContext.pluginLoadInProgressIds.add(id); try { const metadata = resolveBundledChannelMetadata(id, rootScope); - const plugin = entry.loadChannelPlugin() as ChannelPlugin | undefined; + const plugin = entry.loadChannelPlugin({ installRuntimeDeps: false }) as + | ChannelPlugin + | undefined; if (!plugin) { loadContext.lazyPluginsById.set(id, null); return undefined; @@ -671,7 +673,7 @@ function getBundledChannelSetupSecretsForRoot( } try { const secrets = - entry.loadSetupSecrets?.() ?? + entry.loadSetupSecrets?.({ installRuntimeDeps: false }) ?? getBundledChannelSetupPluginForRoot(id, rootScope, loadContext)?.secrets; loadContext.lazySetupSecretsById.set(id, secrets ?? null); return secrets;