n8n/packages/cli/test/integration
Charlie Kolb e5f56a77bb
refactor(core): Move the response errors into @n8n/backend-services (no-changelog)
Move the generic ResponseError hierarchy (BadRequestError, NotFoundError,
ForbiddenError, ...) into @n8n/backend-services and point every cli
import at the package root. 29 backend modules import these classes.

Feature-specific response errors (MFA codes, license EULA, credential
and workflow transfer, webhook not found, workflow activation and
validation) stay in cli next to the code that throws them. They extend
the generic classes from the package. WorkflowPublishBlockedError moves
because three modules import it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 10:25:06 +02:00
..
access-control chore: Bundle 2.x (#37586) 2026-09-02 08:16:39 +03:00
agents fix(core): Resolve agent credentials through the node decryption path so external secrets work (#36275) 2026-08-14 15:02:44 +00:00
ai feat: Add admin-managed instance credentials (#34364) 2026-07-25 14:22:22 +00:00
collaboration feat(editor): Keep review-required toggle synchronized with open reviews (#34606) 2026-07-22 09:28:10 +00:00
commands feat(core): Enable the workflow publication service by default (#37835) 2026-09-10 13:23:38 +00:00
controllers chore: Bundle 2.x (#37586) 2026-09-02 08:16:39 +03:00
credentials refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
database feat(editor): Show background tasks in the agent preview (#38360) 2026-09-15 07:35:56 +00:00
deduplication test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
dynamic-credentials chore(core): Add dynamic credential user storage (#24579) 2026-01-20 14:58:50 +00:00
dynamic-credentials.ee fix(editor): Fixes issue that prevented some users from revoking their end-user credentials (#38311) 2026-09-11 11:48:22 +00:00
environments refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
evaluation test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
eventbus test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
executions fix(core): Count executions that crash recovery marks as crashed (#37733) 2026-09-08 11:29:15 +00:00
external-secrets fix(core): Keep external secrets available while provider connections reload (#35237) 2026-07-31 13:33:12 +00:00
folder chore: Add no-application-error lint rule and ban new usage (no-changelog) (#33248) 2026-06-30 10:08:47 +00:00
insights feat(API): Add billable to Insights table (#36856) 2026-09-09 08:02:18 +00:00
ldap test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
log-streaming feat: Enable log streamin settings via env vars (#29005) 2026-04-27 11:39:42 +00:00
mcp feat(core): Add folder filtering to the MCP workflow search tool (#36516) 2026-08-20 13:28:22 +00:00
mfa refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
middlewares refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
modules feat(core): Let Instance AI read node-type usage from the dependency index (#37539) 2026-09-03 11:23:21 +00:00
oidc refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
policy feat(core): Enable the workflow publication service by default (#37835) 2026-09-10 13:23:38 +00:00
public-api refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
saml refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
scaling fix(core): Count executions that crash recovery marks as crashed (#37733) 2026-09-08 11:29:15 +00:00
scheduling fix(core): Clear the scheduled task error message when a retried occurrence succeeds (no-changelog) (#38604) 2026-09-14 12:15:10 +00:00
security-audit feat(core): Enable the UI to call the public API (no-changelog) (#35692) 2026-08-13 13:36:06 +00:00
services refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
shared feat: Add the AI preferences API and the Context settings UI (no-changelog) (#38213) 2026-09-14 18:56:45 +00:00
task-runners fix(core): Stop the workflow builder writing Python Code nodes that cannot run (#37083) 2026-08-28 11:11:37 +00:00
token-exchange refactor(core): Run token exchange maintenance as system tasks (no-changelog) (#37547) 2026-09-07 10:37:06 +00:00
workflows refactor(core): Move the response errors into @n8n/backend-services (no-changelog) 2026-09-16 10:25:06 +02:00
activation-errors.service.test.ts refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
active-workflow-manager.test.ts feat(core): Enforce policy on workflow publish (no-changelog) (#36955) 2026-08-31 13:50:36 +00:00
active-workflows.api.test.ts fix(core): Scope active workflow IDs to the requesting user's projects (#37326) 2026-08-31 08:46:24 +00:00
activity-event-relay.test.ts feat(core): Record instance activity behind the write flag (no-changelog) (#37750) 2026-09-04 12:16:46 +00:00
activity-event.repository.test.ts feat(core): Add the instance-context block and activity tool (no-changelog) (#37867) 2026-09-08 14:44:47 +00:00
ai-preference.api.test.ts feat: Add the AI preferences API and the Context settings UI (no-changelog) (#38213) 2026-09-14 18:56:45 +00:00
api-keys.api.test.ts fix(API): Let global members grant folder scopes to API keys (#37654) 2026-09-08 10:50:16 +00:00
auth.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
auth.mw.test.ts chore(core): Use roles from database in global roles (#18768) 2025-08-26 17:53:46 +02:00
binary-data.api.test.ts fix: Serve binary data stored in the temp execution dir (#38270) 2026-09-11 09:51:30 +00:00
change-email.api.test.ts feat(core): Add email change confirmation flow (no-changelog) (#37950) 2026-09-14 10:10:00 +00:00
chat-trigger-test-webhook-auth.api.test.ts fix(Chat Trigger Node): Respect private chat setting in tests (#37406) 2026-08-31 10:31:31 +00:00
cta.service.test.ts feat(core): Use active version instead of current version (no-changelog) (#21202) 2025-11-20 17:47:24 +02:00
debug.controller.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
encryption-keys.api.test.ts feat(core): Server-side pagination, sorting, and filtering for encryption keys (#29708) 2026-05-06 09:20:14 +00:00
engine-v2-active-triggers.test.ts feat(engine): Route active trigger runs to the engine 2.0 data plane (#37726) 2026-09-08 10:52:58 +00:00
engine-v2-webhooks.test.ts feat(engine): Route webhook runs to the engine 2.0 data plane (#37657) 2026-09-06 11:54:27 +00:00
eventbus.ee.test.ts refactor: Apply outbound request protection by default (no-changelog) (#36841) 2026-08-26 10:52:56 +00:00
eventbus.test.ts chore(core): Use roles from database in global roles (#18768) 2025-08-26 17:53:46 +02:00
execution-context-propagation.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
execution-redaction.test.ts chore: Bundle/2.x (#34680) 2026-07-22 08:09:00 +00:00
execution-run-summaries.test.ts feat(core): Add the instance-context block and activity tool (no-changelog) (#37867) 2026-09-08 14:44:47 +00:00
execution.repository.test.ts fix(core): Recover enqueued executions after a restart (#35059) 2026-07-29 09:55:40 +00:00
execution.service.integration.test.ts feat(engine): Accept data plane execution ids on the control plane routes (#37107) 2026-08-27 10:40:32 +00:00
executions-pruning.service.test.ts refactor(core): Introduce ExecutionPersistence service (#24857) 2026-01-27 09:59:51 +00:00
executions.controller.test.ts feat(engine): Store the workflow that ran with each engine 2.0 execution (#37858) 2026-09-07 15:05:31 +00:00
healthcheck.controller.test.ts refactor(core): Move integration test utils for insights (#16693) 2025-06-25 17:32:54 +02:00
import.service.test.ts feat(core): Enforce content-import policy on package import (no-changelog) (#37762) 2026-09-04 12:06:48 +00:00
instance-ai-settings.service.test.ts feat: Rename AI Assistant to n8n Assistant (#38065) 2026-09-10 08:56:53 +00:00
instance-context.service.test.ts feat(core): Add the instance-context block and activity tool (no-changelog) (#37867) 2026-09-08 14:44:47 +00:00
license-metrics.repository.test.ts perf(core): Aggregate workflow statistics to avoid hot-row contention (#33045) 2026-07-06 11:11:18 +00:00
license.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
log-streaming.controller.test.ts chore: Bundle 2.x (#37586) 2026-09-02 08:16:39 +03:00
manual-execution-credential-context.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
me.api.test.ts fix(core): Prevent SSO enforcement bypass via self-service settings API (#25330) 2026-02-05 12:58:39 +00:00
owner.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
password-reset.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
project.api.test.ts fix(core): Add project:manageUsers scope to gate project membership changes (#36243) 2026-08-19 18:43:35 +00:00
project.service.integration.test.ts refactor(API): De-Express projects endpoints and drop direct-repo reads (no-changelog) (#37123) 2026-08-28 07:53:17 +00:00
prometheus-metrics.test.ts refactor(core): Extract shared cached metric query for Prometheus collectors (#33435) 2026-07-02 12:05:55 +00:00
provisioning-config.api.test.ts feat(core): Make SSO role mapping default condition configurable (#35023) 2026-07-28 08:53:48 +00:00
provisioning.instance-settings-loader.test.ts fix(core): Apply the SSO expression mapping env var in the provisioning loader (#37170) 2026-09-09 18:59:54 +00:00
role-mapping-rule.api.test.ts fix(core): Shift existing rules on create to avoid order conflict (#28722) 2026-04-23 08:50:55 +00:00
role.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
server-static-assets.test.ts chore: Bundle 2.x (#37586) 2026-09-02 08:16:39 +03:00
tags.api.test.ts chore(core): Use roles from database in global roles (#18768) 2025-08-26 17:53:46 +02:00
test-run.repository.ee.test.ts refactor(API): Move evaluation test-run reads behind a service (no-changelog) (#37199) 2026-09-01 07:14:28 +00:00
user.repository.test.ts feat(core): Add email change confirmation flow (no-changelog) (#37950) 2026-09-14 10:10:00 +00:00
users.api.test.ts chore: Update eslint configuration (#38307) 2026-09-10 14:40:35 +03:00
users.data-table.api.test.ts fix(editor): Transfer ownership or delete data tables when user deleted (#33037) 2026-06-26 10:28:39 +00:00
variables.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
wait-error-propagation.test.ts chore: Migrate packages/cli to Typescript 7 (#34159) 2026-07-15 11:49:51 +00:00
webhooks.api.test.ts fix(core): Clean up multipart webhook files (no-changelog) (#37318) 2026-09-03 10:10:18 +00:00
webhooks.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
workflow-helpers.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
workflow-history-compaction.service.test.ts refactor(core): Run workflow maintenance jobs as system tasks (no-changelog) (#37548) 2026-09-09 07:58:57 +00:00
workflow-history-manager.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
workflow-history.api.test.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
workflow-hook-context.service.test.ts feat(core): Support checking for workflow tags existing in preExecute hook (#30440) 2026-05-19 18:23:18 +00:00
workflow-inventory.test.ts feat(core): Add the instance-context block and activity tool (no-changelog) (#37867) 2026-09-08 14:44:47 +00:00
workflow-publication-trigger-status.repository.test.ts feat(core): Add publication status to the workflow list API (no-changelog) (#34068) 2026-09-01 10:09:46 +00:00
workflow-tag-mapping.repository.integration.test.ts refactor(core): Lintfix cli package (#17125) 2025-07-08 19:32:02 +02:00