Exposing workflow code position for decisions in history events #2801
Labels
customer
Feature asks from customer
feature
New feature
reset
Workflow reset
up-for-grabs
Issues that are good entry points for those new to Cadence that want to contribute
This is for improving debuggability/userability of Cadence: for each decision result(schedule activities/timer/childWF etc), put the code position that generating that decision. It will be very useful to debug(like non-deterministic error) workflow when looking at history, and also make it much easier to use workflow reset.
It's quite simple to implement in client most languages(go/java/python)-- simply get it from the calling stack when schedule the activities/timer/childWF etc, and response with decision result.
People may have concerns like performance for getting call stack. We can:
These information will lower the bar for using Cadence. Customers and even Cadence engineers will feel more comfortable when debugging. And it gives possibility to make some plugins in IDE to make it seamless.
The text was updated successfully, but these errors were encountered: