n8n/docs
Robin Braumann bdcc8da6bf
feat(core): Queue concurrent agent messages per thread
One turn per durable agent thread at a time, on every surface: preview chat,
published chat integrations, background wake, task runs, HITL resume.

- AgentThreadTurnCoordinator: bounded FIFO per thread and main (50 waiters),
  distributed agent-thread-turn lease, abort-aware waiting, queue-full error.
- agent_execution.activeThreadId claim with a unique partial index as the
  fail-closed fence; heartbeat drops the claim when the row is no longer ours.
- Chat SDK runs with concurrency 'concurrent'; the coordinator orders turns.
- Preview chat surfaces the queue-full error; channel threads post a notice.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 10:31:18 +02:00
..
generated feat(core): Queue concurrent agent messages per thread 2026-09-12 10:31:18 +02:00
db.md feat(core): Add auto-generated database schema documentation (no-changelog) (#32069) 2026-06-12 07:44:01 +00:00