danielgmyers / flux-swf-client

Apache License 2.0
8 stars 3 forks source link

Automatically undeprecate types during startup/registration #110

Open danielgmyers opened 1 year ago

danielgmyers commented 1 year ago

When Flux starts up it tries to register the loaded Workflow and Activity types. However, if they are registered but deprecated, they are not un-deprecated, which leads to runtime failures when Flux tries to start a workflow execution or schedule an activity of that type.

On startup, flux should notice when a Workflow or Activity type that it has loaded is deprecated, and undeprecate it.