Azure / Azure/azure-functions-durable-python
context.signal_entity causes sub orchestrator to never finish.
- Ngôn ngữ chính
- Python
- Star
- 157
- Fork
- 70
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
🐛 **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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện trường hợp tối thiểu về entity và sub-orchestrator đã mô tả, sau đó so sánh các entry point context.signal_entity và context.call_entity trong khi theo dõi cách StopIteration hoàn tất generator. Công việc được xem là hoàn tất khi việc signaling entity không còn ngăn sub-orchestrator hoàn tất, kèm theo regression coverage cho hành vi mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 50/100