n8n/packages/cli/src/executionLifecycleHooks
Iván Ovejero b7c5c7406f
fix(core): Ensure failed executions are saved in queue mode (#7744)
This PR adds `status` to run data so that
`determineFinalExecutionStatus` resolves correctly on execution failure
and removes the cleanup that is being duplicated in a worker hook.

Followup to https://github.com/n8n-io/n8n/pull/7138

Should fix:
- https://github.com/n8n-io/n8n/issues/7705
-
https://linear.app/n8n/issue/PAY-964/no-execution-found-after-execution-fails
-
https://linear.app/n8n/issue/PAY-1010/execution-deletion-in-queue-mode-not-complying-with-settings
2023-11-20 16:03:02 +01:00
..
shared fix(core): Ensure failed executions are saved in queue mode (#7744) 2023-11-20 16:03:02 +01:00
restoreBinaryDataId.ts fix: Prevent undefined issues when restoring binary data (#7419) 2023-10-12 16:41:51 +02:00
toSaveSettings.ts fix(core): Comply with custom default for workflow saving settings (#7634) 2023-11-07 16:26:55 +01:00