Nicolas Reichel
03/19/2026, 3:53 PMNate
03/19/2026, 7:50 PMidempotency_key
if you have a moment to check out a sketch here for how this could work in a first class way for automations (support for this could be ported to cloud): https://github.com/PrefectHQ/prefect/pull/21193/changesNicolas Reichel
03/24/2026, 11:01 AMidempotency_key set on a transaction, you only deduplicate on a committed transaction (E.g. for a flow-level transaction, after at least one run has Completed), so you cannot prevent race conditions. Skimming the PR, it seems like a TriggeredAction has an idempotency_key as well, are you saying this functions as a claim/lock on the triggered action, e.g. is committed & checked (where? results store?) at the start of a triggered automation? And if I understand correctly, your PR is to enable parsing jinja templated event context (e.g. payload) into such a idempotency_key? If so, then yes this would solve my problem! Is there any documentation on this automation-level idempotency mechanism?
I'd be really stoked if this could be added to Cloud as well ASAP. It would enable exactly-once event triggering based on event context, which is a huge feature upgrade for the platform. It's honestly a make-or-break feature for me. I'll happily attest this to a PM/PO if you think it could increase priority for release.Nicolas Reichel
04/10/2026, 6:08 PM