From bc0c5067ffe2f616b8f37afb593275085d414f1a Mon Sep 17 00:00:00 2001 From: mfsiega <93014743+mfsiega@users.noreply.github.com> Date: Tue, 27 Jan 2026 18:33:04 +0100 Subject: [PATCH] feat(core): Introduce feature flag for workflow publication (no-changelog) (#24921) --- packages/@n8n/config/src/configs/workflows.config.ts | 10 +++++++++- packages/@n8n/config/test/config.test.ts | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/@n8n/config/src/configs/workflows.config.ts b/packages/@n8n/config/src/configs/workflows.config.ts index 7fe9998d0b6..456863c792f 100644 --- a/packages/@n8n/config/src/configs/workflows.config.ts +++ b/packages/@n8n/config/src/configs/workflows.config.ts @@ -19,7 +19,15 @@ export class WorkflowsConfig { @Env('N8N_WORKFLOW_ACTIVATION_BATCH_SIZE') activationBatchSize: number = 1; - /** Whether to enable workflow dependency indexing */ + /** Whether to enable workflow dependency indexing. + * NOTE: this feature is still under development. + */ @Env('N8N_WORKFLOWS_INDEXING_ENABLED') indexingEnabled: boolean = false; + + /** Whether to use workflow publication service. + * NOTE: this feature is still under development. + */ + @Env('N8N_USE_WORKFLOW_PUBLICATION_SERVICE') + useWorkflowPublicationService: boolean = false; } diff --git a/packages/@n8n/config/test/config.test.ts b/packages/@n8n/config/test/config.test.ts index 102ccbbd3b5..0f6b530d976 100644 --- a/packages/@n8n/config/test/config.test.ts +++ b/packages/@n8n/config/test/config.test.ts @@ -186,6 +186,7 @@ describe('GlobalConfig', () => { callerPolicyDefaultOption: 'workflowsFromSameOwner', activationBatchSize: 1, indexingEnabled: false, + useWorkflowPublicationService: false, }, endpoints: { metrics: {