n8n/packages
Nikhil Kuriakose 94333c1837
feat(core): Remove the per-upload limit on agent knowledge files
Users could upload at most 10 knowledge files to an agent in one go. The
total knowledge base size limit of 1.5 GB and the per-file limit of 10 MB
stay in place.

The mirror sync command named each file inline: one `mv` for each copied
file, one `rm -f` with every deleted path, and the manifest body in a
`printf`. The whole command goes to `bash -c` as one argument, and Linux
limits one argument to 128 KiB. At 500 files the command was 128 KB, and
at 600 files it failed with "argument list too long".

The per-file data now goes to the sandbox as staged files. The command
moves the staged files with one glob, removes the names in a staged
NUL-separated delete list, and swaps in a staged manifest. The command
is now a fixed size for any number of files. Each staged file still
moves with `rename`, so a concurrent search never reads a partial file.

Stage the knowledge files in a `files` subdirectory of the sync
directory. The glob then finds the knowledge files only, and one
`rmdir` removes all that the sync staged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-14 13:17:11 +02:00
..
@n8n feat(core): Remove the per-upload limit on agent knowledge files 2026-10-14 13:17:11 +02:00
cli feat(core): Remove the per-upload limit on agent knowledge files 2026-10-14 13:17:11 +02:00
core fix(core): Log custom data truncation only above the 512-character limit (#40899) 2026-10-13 07:49:13 +00:00
extensions refactor(core): Extract Insights backend module package (#40261) 2026-10-06 13:05:38 +00:00
frontend feat(core): Remove the per-upload limit on agent knowledge files 2026-10-14 13:17:11 +02:00
modules 🚀 Release 2.44.0 (#40943) 2026-10-13 07:12:07 +00:00
node-dev ci: Speed up the PR build job and move the E2E matrix off its path (no-changelog) (#39736) 2026-09-28 13:16:13 +00:00
nodes-base feat(Databricks Node): Add the Lakebase Get Many operation (no-changelog) (#40508) 2026-10-13 07:52:26 +00:00
quality 🚀 Release 2.44.0 (#40943) 2026-10-13 07:12:07 +00:00
workflow Merge tag 'n8n@2.44.0' 2026-10-13 07:44:08 +00:00