n8n/packages/cli
Eugene Molodkin ccc157b121
feat(core): Schedule agent tasks via the durable scheduler behind a flag (no-changelog)
Behind N8N_SCHEDULER_AGENT_TASKS_ENABLED (requires N8N_SCHEDULER_ENABLED),
agent scheduled tasks gain a durable path: a registrar keeps scheduled_job
rows in step with published, enabled task snapshots, and a task handler
starts runs by taking the existing run lock, kicking the run off in the
background, and reporting dispatch within the occurrence lease. Startup
reconciliation backfills jobs when the flag turns on and deletes them when
it is off, so no pending occurrences accumulate behind an unregistered
handler.

Missed occurrences use the skip misfire policy and a held run lock skips
the tick, both matching the in-memory scheduler. Legacy scheduling is
untouched; routing lifecycle events by flag lands separately.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-24 18:54:27 +02:00
..
bin chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
scripts feat(core): Add new agent slack integration (#35591) 2026-08-17 09:27:50 +00:00
src feat(core): Schedule agent tasks via the durable scheduler behind a flag (no-changelog) 2026-08-24 18:54:27 +02:00
templates fix(core): Keep the account panel on hosted forms once every account is connected (#36429) 2026-08-18 06:38:47 +00:00
test feat(core): Add system-authored workflow version publishing (no-changelog) (#36511) 2026-08-19 11:16:16 +00:00
AGENTS.md chore(core): Lock the @n8n/typeorm import ratchet and document the boundary (no-changelog) (#34370) 2026-07-21 08:26:21 +00:00
BREAKING-CHANGES.md fix: Security patches (#22748) 2025-12-05 13:28:39 +00:00
eslint.config.mjs refactor(API): Route public API credentials through the shared credentials service (#36048) 2026-08-17 13:14:21 +00:00
nodemon.json
package.json refactor(API): Migrate workflow archive, unarchive, and transfer routes to the decorator pattern (no-changelog) (#35835) 2026-08-18 15:14:06 +00:00
tsconfig.build.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
tsconfig.json feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.base.ts feat: Add @n8n/telemetry event registry with typed track() support (no-changelog) (#34662) 2026-07-23 16:09:54 +00:00
vitest.config.integration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.integration.ts refactor(core): Tidy agent-eval runner and rating-persistence internals (no-changelog) (#35424) 2026-08-04 10:42:20 +00:00
vitest.config.migration.testcontainers.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.migration.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
vitest.config.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
vitest.tsc-entity-transform.ts chore: Consolidate ts tooling catalog (#34310) 2026-07-16 10:10:12 +00:00
vitest.workspace-externals.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00