microsoft / microsoft/durabletask-python

Investigate rollbackEntityOperationsOnExceptions semantics for Durable Entities

未關閉
#241 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

bug Functions Parity
主要語言
Python
星號
40
分支
33
平均合併
2 天 2 小時
30 天內合併 PR
6

描述

Upstream report: https://github.com/Azure/azure-functions-durable-python/issues/274

Investigate whether azure-functions-durable v2 entities honor the host rollbackEntityOperationsOnExceptions setting. This may require a Durable Functions extension or wire-contract change if the setting is not available in the Python entity request.

Investigation goals

  • Verify omitted/default and explicit true: set, delete, create, and in-place mutation followed by an exception are rolled back.
  • Verify explicit false: those mutations remain applied.
  • Verify that, in a multi-operation batch, only the failed operation is rolled back and successful operations before and after it remain applied.
  • Verify callers observe the operation failure without an unintended retry.
  • Add end-to-end host coverage for supported v2 providers.
  • If the gRPC or extension contract cannot carry this option, identify and link the required extension/protobuf work rather than implementing SDK-only behavior.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先從上游報告和 Durable Entities v2 的 Python entity 請求開始,然後將其與 host 的 rollbackEntityOperationsOnExceptions 設定以及 gRPC 或 extension/protobuf 契約進行比較。執行列出的 mutation、batching、failure 和 retry 案例,接著針對受支援的 v2 provider 進行端到端的 host 覆蓋。完成的標準是驗證語義,或識別並連結所需的 extension/protobuf 工作,而不是新增僅限 SDK 的行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
distributed-systems
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。