Samuel Kohlleffel
08/04/2021, 6:55 PMidempotency_key
used when calling flow.register()
would take into account both flow and task changes.
From what I can tell, flow.serialized_hash()
only changes if changes are made to the flow's metadata. It does not take into account if a task within a flow changes.Zanie
Samuel Kohlleffel
08/05/2021, 1:59 PMidempotency_key = flow.serialized_hash()
.
For CI, we have a build script that builds and registers all of the modified flows, but right now it only builds and registers if the flow metadata has changed because as I stated above we are usingĀ idempotency_key = flow.serialized_hash()
.
So my question is: is there any way to build flows in an idempotent way that checks for changes to the task code and also any functions that are used by the tasks?Zanie
Samuel Kohlleffel
08/05/2021, 2:47 PM