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 摘要。