Azure / Azure/azure-functions-durable-python

context.signal_entity causes sub orchestrator to never finish.

オープン
#497 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug fixed-in-v2 P2
主要言語
Python
スター
157
フォーク
70
平均マージ
2日 10時間
マージ済み PR(30日)
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 がどのように完了するかを追跡します。entity をシグナルしても sub-orchestrator の完了が妨げられなくなり、期待される動作に対するリグレッションカバレッジがあれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
backend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。