n8n/packages
Robin Braumann dcf535a1c6
feat(core): Handle a busy agent session on each surface (no-changelog)
Each starter now reacts to a busy session in its own way:

- An integration message gets a busy notice. The bridge deletes its
  stored attachments and does not run the message.
- An integration button resume waits for the session for 5 seconds.
  Then it posts "This action has already been handled". A Preview
  resume waits the same time and then gets `turn_already_running`.
- A workflow-tool resume tries again with a backoff from 1 s to 30 s.
  It stops when the run is no longer suspended.
- A background wake skips without a failure count. The turn that holds
  the session requests a new wake when it settles.
- A busy sub-agent resume is retryable, so the parent stays suspended.

The session lease replaces the in-process HITL guard and the running
check of the wake, so this removes both and `existsRunningByThread`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 12:26:12 +02:00
..
@n8n feat(core): Add agent session lease table (no-changelog) 2026-09-23 11:56:07 +02:00
cli feat(core): Handle a busy agent session on each surface (no-changelog) 2026-09-23 12:26:12 +02:00
core refactor(core): Extract the webhook Buffer body codec into n8n-core (no-changelog) (#39301) 2026-09-22 15:09:39 +00:00
extensions/insights 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
frontend Merge remote-tracking branch 'origin/master' into reattach-chat-owner-on-reload 2026-09-22 19:42:11 +02:00
modules fix(core): Summarize saved credential type policies against known credential types (no-changelog) (#39191) 2026-09-22 13:58:58 +00:00
node-dev build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
nodes-base refactor(API): Migrate GET and POST /workflows/{workflowId}/test-runs to the decorator pattern (no-changelog) (#39163) 2026-09-22 15:14:03 +00:00
testing fix: address preview chat recovery races 2026-09-22 17:13:08 +02:00
workflow 🚀 Release 2.41.0 (#39228) 2026-09-22 07:18:44 +00:00