n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
49.52k stars 7.98k forks source link

refactor(core): Lazy-load `form-data` and `ssh2` (no-changelog) #11800

Closed netroy closed 6 days ago

netroy commented 6 days ago

Summary

Loading these two packages startup increases the baseline memory usage by a bit, but it also slows the backend tests down, since these packages are loaded for every test, even if they are not used.

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

codecov[bot] commented 6 days ago

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review. Files with missing lines Patch % Lines
packages/workflow/src/utils.ts 0.00% 1 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!

netroy commented 6 days ago

this does not speed up the CI