temporalio / features

Behavior and history compatibility testing for Temporal SDKs
13 stars 17 forks source link

[Feature Request] Don't allow apis that generate commands to be invoked from side effects #177

Open tsurdilo opened 1 year ago

tsurdilo commented 1 year ago

Currently it's possible to for example invoke activities from inside workflow side effect. This leads to non-deterministic errors on internal wf replay.

Feature request is to no allow any apis that generate commands to be invoked from inside side effects.

Spikhalskiy commented 1 year ago

More operations may have to be restricted. Not just the ones that generate commands. For example, any command that leads to thread/coroutine yielding the control should be prohibited,