Azure / Azure/azure-functions-durable-python
context.signal_entity causes sub orchestrator to never finish.
Open
bug
fixed-in-v2
P2
- Dominant language
- Python
- Stars
- 157
- Forks
- 70
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
🐛 **Describe the bug**
Using `context.signal_entity` causes a sub-orchestrator to never finish. That is, it prevents `StopIteration` from being raised.
🤔 **Expected behavior**
Signalling an entity does not cause the generator to fail
☕ **Steps to reproduce**
Create an entity and signal it from within a sub orchestrator. This will cause it to not finish. Now switch it to use `context.call_entity`, which works as expected.
Contributor guide
Assessment
This issue has not been assessed yet.