n8n/packages
Iván Ovejero 8a28e98ec8
fix(core): Disallow orphan executions (#7069)
Until https://github.com/n8n-io/n8n/pull/7061 we had an edge case where
a manual unsaved workflow when run creates an orphan execution, i.e. a
saved execution not pointing to any workflow. This execution is only
ever visible to the instance owner (even if triggered by a member), and
is wrongly stored as unfinished and crashed. This PR enforces that the
DB disallows any such executions from making it into the DB.

This is needed also for the S3 client, which will include the
`workflowId` in the path-like filename.

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-09-04 16:57:10 +02:00
..
@n8n/client-oauth2 🚀 Release 1.4.0 (#7001) 2023-08-23 15:41:49 +02:00
@n8n_io/eslint-config ci: Improve the performance of the import/no-cycle linting rule (no-changelog) (#6985) 2023-08-22 13:44:50 +02:00
cli fix(core): Disallow orphan executions (#7069) 2023-09-04 16:57:10 +02:00
core refactor(core): Simplify marking logic in binary data manager (no-changelog) (#7046) 2023-08-31 16:02:20 +02:00
design-system ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
editor-ui fix(editor): Standardize save text (#7093) 2023-09-04 15:28:30 +01:00
node-dev 🚀 Release 1.5.0 (#7056) 2023-08-31 12:57:20 +02:00
nodes-base fix(Postgres Node): Tunnel doesn't always close (#7087) 2023-09-04 13:26:02 +03:00
workflow 🚀 Release 1.5.0 (#7056) 2023-08-31 12:57:20 +02:00