PeerDB-io / peerdb

Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage
https://peerdb.io
Other
1.91k stars 60 forks source link

fix update handler breaking with Temporal update #1874

Closed heavycrystal closed 1 week ago

heavycrystal commented 1 week ago

https://pkg.go.dev/go.temporal.io/sdk/client upgrade to v1.27.0 introduced a mandatory field while doing external workflow updates called WaitForStage, which is currently experimental, underdocumented and is breaking our uses of external updates.

Need to find a better fix later, for now removing the update handlers entirely from code. We only have one currently, for setting workflow status to PAUSING or TERMINATING.