Azure / Azure/azure-functions-durable-python
context.signal_entity causes sub orchestrator to never finish.
未关闭
bug
fixed-in-v2
P2
- 主要语言
- Python
- 星标
- 157
- 派生
- 70
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 2
描述
🐛 **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.
贡献指南
调研方向
首先复现所描述的最小 entity 和 sub-orchestrator 案例,然后比较 context.signal_entity 和 context.call_entity 这两个入口点,同时跟踪 StopIteration 如何完成 generator。完成的标准是:signal entity 不再阻止 sub-orchestrator 完成,并为预期行为提供回归覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- azure, python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100