n8n/packages/cli/test
Iván Ovejero f2939568cf
perf(core): Optimize workflow activation errors (#8242)
At https://github.com/n8n-io/n8n/pull/8213 we introduced Redis hashes
for workflow ownership and manual webhooks...

- to remove clutter from multiple related keys at the top level,
- to improve performance by preventing serializing-deserializing, and
- to guarantee atomicity during concurrent updates in multi-main setup.

Workflow activation errors can also benefit from this. Added test
coverage as well.

To test manually, create a workflow with a trigger with an invalid
credential, edit the workflow's `active` column to `true`, and restart.
The activation error should show as a red triangle on canvas and in the
workflow list.
2024-01-05 13:06:42 +01:00
..
integration perf(core): Optimize workflow activation errors (#8242) 2024-01-05 13:06:42 +01:00
shared refactor(core): Use Dependency Injection for all Controller classes (no-changelog) (#8146) 2023-12-27 11:50:43 +01:00
unit perf(core): Improve caching service (#8213) 2024-01-05 11:52:44 +01:00
extend-expect.ts feat(core): Security audit (#5034) 2023-01-05 13:28:40 +01:00
setup-mocks.ts fix(core): Do not allow arbitrary path traversal in the credential-translation endpoint (#5522) 2023-02-21 11:21:04 +01:00
setup-test-folder.ts refactor(core): Abstract away InstanceSettings and encryptionKey into injectable services (no-changelog) (#7471) 2023-10-23 13:39:35 +02:00
setup.ts ci: Block all external network calls in tests (no-changelog) (#4930) 2022-12-14 15:28:41 +01:00
teardown.ts ci: Fix test database cleanup (no-changelog) (#6188) 2023-05-05 12:12:37 +02:00