A pre-built wake message, committed INSIDE the resolve/cancel transaction
so the awaiting workflow's wake is durable with the status change. The
client composes the webhook message; the store owns the stream INSERT.
forSignalKey pins the wake to the row it was built for — it is written
only when the affected row's signal_key matches (a mismatched row falls
back to post-commit delivery).
A pre-built wake message, committed INSIDE the resolve/cancel transaction so the awaiting workflow's wake is durable with the status change. The client composes the webhook message; the store owns the stream INSERT.
forSignalKeypins the wake to the row it was built for — it is written only when the affected row'ssignal_keymatches (a mismatched row falls back to post-commit delivery).