microsoft / microsoft/durabletask-python
Support orchestration ID reuse policy
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 40
- 派生
- 33
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 6
描述
durabletask-go now support orchestration ID reuse policy, customer can reuse the orchestration ID with three different action ERROR, IGNORE, and TERMINATE with a target runtime status set.
ERROR- If there is an existing workflow then the scheduler throws an exception (this is the current behavior).
IGNORE- If there is an existing workflow already scheduled, then the scheduler does nothing.
TERMINATE- Terminates any existing workflows with the same instance ID and then schedules a new instance as one atomic action, similar to on-demand ContinueAsNew.
SDK needs to expose those options to customer orchestration ID reuse support.
Reference:
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 Python SDK 的编排调度入口点,并将其公共 API 与 issue 中链接的 durabletask-go 和 durabletask-java pull request 进行比较。当客户可以选择带有目标运行时状态的 ERROR、IGNORE 或 TERMINATE 重用行为,并且相应行为有测试覆盖时,这项工作即告完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend-api-design
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100