Commit Graph

33 Commits

Author SHA1 Message Date
Veljko Terzic
e56b2a7654
feat(core): Skip an in-memory system task run when its durable job is provisioned (no-changelog) (#38459)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 14:03:34 +00:00
Veljko Terzic
37176addee
feat(core): Deprovision stale durable system task jobs at boot (no-changelog) (#38445) 2026-09-15 13:29:51 +00:00
Veljko Terzic
2fb19eb06a
feat(core): Provision durable jobs for system tasks (no-changelog) (#37759) 2026-09-15 12:11:25 +00:00
Veljko Terzic
53cbe9700d
fix(core): Clear the scheduled task error message when a retried occurrence succeeds (no-changelog) (#38604) 2026-09-14 12:15:10 +00:00
Eugene
404d5870dd
feat(core): Schedule agent tasks via the durable scheduler behind a flag (no-changelog) (#37849)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Robin Braumann <robin.braumann@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 12:29:02 +00:00
Eugene
9418c23b81
feat(core): Declare agents as a scheduled job owner (no-changelog) (#37848)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
2026-09-07 15:28:55 +00:00
Lorent Lempereur
29c7d9f33f
fix(core): Complete a scheduled occurrence as not dispatched when its workflow is unpublished (#37721) 2026-09-03 10:11:39 +00:00
Lorent Lempereur
c09ee10f1e
docs: Document the scheduled job owner contract and pin the job lifecycle (no-changelog) (#37685) 2026-09-03 09:58:59 +00:00
Lorent Lempereur
2a24001fac
feat(core): Deprovision a workflow's schedules when it stops owning them (#37135) 2026-09-02 20:10:44 +00:00
Lorent Lempereur
7675c614bf
refactor(core): Own scheduled jobs by owner data rather than by workflow node (no-changelog) (#37134) 2026-09-02 20:10:43 +00:00
Lorent Lempereur
044a55b735
test(core): Pin scheduler support for jobs without an owning workflow (#37052)
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (26.5.1) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Verify single-instance deps (npm-install) (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
2026-08-26 06:23:49 +00:00
Danny Martini
be014224d3
perf(core): Read the poller state row once per durable poll tick (#36973)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 09:09:17 +00:00
Emilia
df8bfd9e56
feat(core): Back off a failing poll trigger instead of re-polling every tick (no-changelog) (#35707)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-21 23:17:17 +00:00
Emilia
026cee3507
feat(core): Coalesce a Schedule Trigger node's catch-up runs after downtime (#35524)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-14 13:04:09 +00:00
Emilia
619410fdcb
feat(Schedule Trigger Node): Add "If Execution Is Missed" option (#35626)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-08-13 17:27:41 +00:00
Emilia
729c9b46e3
test(cli): Remove clock race from flaky scheduled-task re-claim test (#36031)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 10:48:57 +00:00
Emilia
8672d9567c
feat(core): Add a misfire policy to the durable scheduler (#35075)
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.18.0) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 10:10:31 +00:00
Tomi Turtiainen
b964ed6f4b
refactor(core): Move sleep into @n8n/utils and unify sleep/sleepWithAbort (#35057) 2026-07-28 18:47:18 +00:00
Emilia
e2054f984c
feat(core): Route poll triggers through the durable scheduler (no-changelog) (#34733)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-27 07:32:08 +00:00
Emilia
29f2facb48
feat(core): Add N8N_SCHEDULER_MAX_ATTEMPTS to configure scheduler dead-letter threshold (#34633) 2026-07-21 14:00:50 +00:00
Lorent Lempereur
8000a98a47
test(core): Add durable scheduler performance benchmarks (#34279)
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 15:37:35 +00:00
Lorent Lempereur
960f6a1db6
refactor(core): Require task handlers to return an explicit dispatch decision (#34276)
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 14:43:33 +00:00
Emilia
9aa19a7198
fix(core): Claim scheduler jobs ahead of due to remove materializer window-boundary lag (no-changelog) (#34331)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 11:33:57 +00:00
Lorent Lempereur
e22680b99f
fix(core): Close the durable scheduler's record-then-dispatch effect boundary (#34014)
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 09:47:10 +00:00
Lorent Lempereur
038d2ca286
feat(core): Add durable scheduler rollout docs and observability warnings (no-changelog) (#34170)
Some checks are pending
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.16.0) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 21:30:07 +00:00
Lorent Lempereur
1d662876d3
feat: Add durable scheduler job provisioning (no-changelog) (#33970)
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 16:17:11 +00:00
Emilia
d06c2b7f09
test(core): Add cli integration tests for the durable scheduler (no-changelog) (#33927)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-07-10 13:43:28 +00:00
Emilia
17f8fa841e
feat(core): Add tracing spans to the durable scheduler (no-changelog) (#33748)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Lorent Lempereur <lorent.lempereur@n8n.io>
2026-07-10 10:45:21 +00:00
Emilia
7f4ec7af62
feat(core): Add Durable Scheduler metrics and instrumentation (no-changelog) (#33853)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-07-09 10:46:04 +00:00
Lorent Lempereur
2cc5785e09
feat(core): Run durable scheduler lifecycle loops on every main (no-changelog) (#33764)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
2026-07-08 09:57:14 +00:00
Lorent Lempereur
41581cd818
refactor(core): Expose a composable Scheduler surface from @n8n/scheduler (no-changelog) (#33677) 2026-07-07 12:24:51 +00:00
Lorent Lempereur
36c37f4488
feat(core): Add durable scheduler retention pruning (no-changelog) (#33616) 2026-07-06 08:59:34 +00:00
Lorent Lempereur
e43c5c18a2
feat(core): Add durable scheduler materialization sweep (no-changelog) (#33506) 2026-07-03 15:50:51 +00:00