mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-22 12:31:57 +02:00
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> |
||
|---|---|---|
| .. | ||
| chat | ||
| composables | ||
| design-system | ||
| eslint-plugin-design-system | ||
| frontend-constants | ||
| frontend-module-sdk | ||
| frontend-test-utils | ||
| frontend-utils | ||
| frontend-vite-config | ||
| i18n | ||
| rest-api-client | ||
| stores | ||
| storybook | ||