chore: Remove N8N_RUNNERS_ENABLED env variable (no-changelog) (#23885)

This commit is contained in:
Ricardo Espinoza 2026-01-12 08:38:33 -05:00 committed by GitHub
parent 0523cc35bc
commit 6084fc406f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 2 additions and 16 deletions

View file

@ -35,7 +35,6 @@ docker buildx build \
### 3) Start n8n on your host machine with Task Broker enabled
```
N8N_RUNNERS_ENABLED=true \
N8N_RUNNERS_MODE=external \
N8N_RUNNERS_AUTH_TOKEN=test \
N8N_LOG_LEVEL=debug \

View file

@ -33,7 +33,6 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test

View file

@ -51,7 +51,6 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test
@ -98,7 +97,6 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test

View file

@ -49,7 +49,6 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test
@ -94,7 +93,6 @@ services:
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PASSWORD=password
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test

View file

@ -15,7 +15,6 @@ services:
- DB_SQLITE_POOL_SIZE=3
- DB_SQLITE_ENABLE_WAL=true
# Task Runner config
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=external
- N8N_RUNNERS_BROKER_LISTEN_ADDRESS=0.0.0.0
- N8N_RUNNERS_AUTH_TOKEN=test

View file

@ -526,7 +526,6 @@ describe('GlobalConfig', () => {
it('on invalid value, should warn and fall back to default value', () => {
process.env = {
N8N_RUNNERS_MODE: 'non-existing-mode',
N8N_RUNNERS_ENABLED: 'true',
DB_TYPE: 'postgresdb',
};

View file

@ -141,7 +141,6 @@ describe('dev command', () => {
expect(n8nCommand).toBeDefined();
expect(n8nCommand?.env).toMatchObject({
N8N_DEV_RELOAD: 'true',
N8N_RUNNERS_ENABLED: 'true',
N8N_USER_FOLDER: customFolder,
});
});

View file

@ -93,7 +93,6 @@ export default class Dev extends Command {
env: {
...process.env,
N8N_DEV_RELOAD: 'true',
N8N_RUNNERS_ENABLED: 'true',
DB_SQLITE_POOL_SIZE: '10',
N8N_USER_FOLDER: n8nUserFolder,
},

View file

@ -62,6 +62,7 @@ describe('DeprecationService', () => {
['EXECUTIONS_DATA_PRUNE_TIMEOUT', '1', true],
['N8N_CONFIG_FILES', '1', true],
['N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN', '1', true],
['N8N_RUNNERS_ENABLED', '1', true],
])('should detect when %s is `%s`', (envVar, value, mustWarn) => {
toTest(envVar, value, mustWarn);
});
@ -71,7 +72,6 @@ describe('DeprecationService', () => {
beforeEach(() => {
process.env = {
N8N_RUNNERS_ENABLED: 'true',
N8N_GIT_NODE_DISABLE_BARE_REPOS: 'false',
};
});

View file

@ -36,6 +36,7 @@ export class DeprecationService {
{ envVar: 'EXECUTIONS_DATA_PRUNE_TIMEOUT', message: SAFE_TO_REMOVE },
{ envVar: 'N8N_AVAILABLE_BINARY_DATA_MODES', message: SAFE_TO_REMOVE },
{ envVar: 'N8N_CONFIG_FILES', message: 'Please use .env files or *_FILE env vars instead.' },
{ envVar: 'N8N_RUNNERS_ENABLED', message: SAFE_TO_REMOVE },
{
envVar: 'N8N_SKIP_WEBHOOK_DEREGISTRATION_SHUTDOWN',
message: `n8n no longer deregisters webhooks at startup and shutdown. ${SAFE_TO_REMOVE}`,

View file

@ -1,7 +1,3 @@
// Disable task runners until we have fixed the "run test workflows" test
// to mock the Code Node execution
process.env.N8N_RUNNERS_ENABLED = 'false';
// NOTE: Diagrams in this file have been created with https://asciiflow.com/#/
// If you update the tests, please update the diagrams as well.
// If you add a test, please create a new diagram.

View file

@ -22,7 +22,6 @@ const BASE_ENV: Record<string, string> = {
N8N_LICENSE_TENANT_ID: process.env.N8N_LICENSE_TENANT_ID ?? '1001',
N8N_LICENSE_ACTIVATION_KEY: process.env.N8N_LICENSE_ACTIVATION_KEY ?? '',
N8N_LICENSE_CERT: process.env.N8N_LICENSE_CERT ?? '',
N8N_RUNNERS_ENABLED: 'true',
N8N_RUNNERS_MODE: 'external',
N8N_RUNNERS_AUTH_TOKEN: 'test',
N8N_RUNNERS_BROKER_LISTEN_ADDRESS: '0.0.0.0',