n8n/packages/cli/test
Uddish Verma 94046cfb83
refactor(API): Migrate workflow update and delete to the decorator pattern
Moves `PUT /workflows/{id}` and `DELETE /workflows/{id}` onto
`@PublicApiController` and removes the legacy handlers, their hand-written spec
file and the now-unused request types. `workflows.id.yml` held only these two
operations, so the file and its `openapi.yml` entry go with them.

One behaviour change, deliberate: the update response now includes `shared`.
`WorkflowService.update` re-fetches with only the `tags` and `activeVersion`
relations, so `shared` came back undefined and the response mapper threw on
`workflow.shared.map(...)`. The update now re-fetches through
`findWorkflowForUser` for its response, as `getWorkflow` does and as
`createWorkflow` already does internally. The response gains a field; nothing is
removed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 15:10:18 +01:00
..
integration refactor(API): Migrate workflow update and delete to the decorator pattern 2026-08-13 15:10:18 +01:00
migration fix(core): Report the real activation mode for triggers activated via the publication outbox (#36123) 2026-08-12 13:17:53 +00:00
shared feat(core): Add the workflow review activity feed (no-changelog) (#35791) 2026-08-11 14:20:01 +00:00
unit fix(core): Handle errors from triggered and polled workflow executions (#35689) 2026-08-06 13:07:01 +00:00
extend-expect.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
global-setup.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
setup-mocks.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
setup-test-folder.ts chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
setup-testcontainers.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00