uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
339 stars 128 forks source link

Notes for adding history size, and when we can change it safely for replay #1272

Closed Groxx closed 9 months ago

Groxx commented 9 months ago

Unfortunately complicated :|

I think this is all both necessary and sufficient for safety though. The client-library-version metadata is NOT necessary, as any change that would read this and change behavior needs GetVersion to be safe, but we should still consider adding it ASAP for troubleshooting purposes. It'd be useful to be able to tell if version N created an event -> if it should have data X or Y.