Azure / Azure/azure-functions-durable-python

Logging or Exceptions when Durable Functions Activity Does Not Exist

オープン
#301 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る
Debuggability Enhancement P2
主要言語
Python
スター
157
フォーク
70
平均マージ
2日 10時間
マージ済み PR(30日)
2

説明

Pretty simple request, but not sure how simple it would be to implement.

Basically I would like some sort of feedback when you use the call_activity() method of the DurableOrchestrationContext class with a Durable Function Activity that does not exist.

```python
import azure.functions as func
import azure.durable_functions as df

def orchestrator_function(context: df.DurableOrchestrationContext):
logging.info("Starting Activity!")
result = yield context.call_activity("I_Do_Not_Exist", None, None)
logging.info("You will never see me because the code stops at the above step!")
return result

main = df.Orchestrator.create(orchestrator_function)
```

Side note: I may or may not have spent an hour and a half troubleshooting an orchestrator only to realize it was a typo in the activity name.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

DurableOrchestrationContext.call_activity() から開始し、未知のアクティビティ名がライブラリとランタイムによってどのように処理されるかを追跡します。既存のアクティビティディスパッチおよびエラーハンドリングのテストを確認します。アクティビティが存在しない場合に、有用な説明なしに停止するのではなく明確なフィードバックが生成され、回帰テストによるカバレッジがあることを完了条件とします。

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

評価

技術スタック
azure, python
領域
backend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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