-
Notifications
You must be signed in to change notification settings - Fork 58
decision_context not set during signal-induced DecisionTask #110
Comments
Additionally, the workflow executor does not log the failure anywhere and simply blackholes failures in the signal-induced DecisionTasks. |
👍 |
🙏 |
+1 |
@ben-mays Can you provide the code you are using to run the worker/activity_worker/starter? I was getting a similar issue where I'd get |
@mjsteger sorry, we're actively moving functionality off of SWF as a result of this and numerous other issues that manifested themselves- long polling causing tasks to be scheduled on dead sockets, the decision/activity context not being set, a memory leak that won't go away. I'll leave the issue open for others that may have the same issue. |
@ben-mays Do you have any literature you've written about these issues? Did you happen to use the JVM Flow framework as well or are these experiences solely based on the ruby version? Can you speak to what you've switched to (assuming custom-grown workflow management on-top of a message bus)? |
Running the sample code given with a reference to the
decision_context
causes theDecisionTask
to fail. The execution history showsDecisionTaskScheduled
,DecisionTaskStarted
but neverDecisionTaskCompleted
. Eventually the workflow will timeout. The cause is thedecision_context
resolving tonil
.Here is the modified code to reproduce:
The text was updated successfully, but these errors were encountered: