feat(core): Introduce feature flag for workflow publication (no-changelog) (#24921)

This commit is contained in:
mfsiega
2026-01-27 17:33:04 +00:00
committed by GitHub
parent 356e3e69bc
commit bc0c5067ff
2 changed files with 10 additions and 1 deletions
@@ -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;
}
+1
View File
@@ -186,6 +186,7 @@ describe('GlobalConfig', () => {
callerPolicyDefaultOption: 'workflowsFromSameOwner',
activationBatchSize: 1,
indexingEnabled: false,
useWorkflowPublicationService: false,
},
endpoints: {
metrics: {