Closed demetris-manikas closed 4 weeks ago
It's not incorrect--a workflow isn't fully started (and guaranteed to be reliable) until internalWorkflow
(startWorkflow
from the user perspective) has returned. That said, it might be cleaner if this was a transaction.
Ok. That's what the "do nothing on conflict" is safeguarding for. As you said it is not wrong so I close this one.
I noticed that system_database.ts#L141C9-L141C27 executes two INSERT statements without wrapping them in a transaction. Is this by design or something that needs fixing?