[WORKFLOW SDK FEATURE REQUEST] Implement "new_guid" on WorkflowContext
未关闭
dapr-ext-workflow
kind/enhancement
- 主要语言
- Python
- 星标
- 272
- 派生
- 152
- PR 合并指标
- 30 天内没有已合并 PR
描述
The ability to generate a replay-safe GUID is missing from the API surface of WorkflowContext.
This is a fundamental feature of all Workflow SDKs. e.g. https://github.com/dapr/dotnet-sdk/blob/9a16009d98738fd4f11d1cd7ff58e5afc4fb945a/src/Dapr.Workflow/Worker/Internal/WorkflowOrchestrationContext.cs#L519
贡献指南
调研方向
首先定位 Python WorkflowContext API 及其现有的工作流相关测试。将所请求的 new_guid 行为与链接的 Dapr .NET SDK 实现进行比较,然后添加该 API,并通过相关测试覆盖验证生成的 GUID 可安全重放。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- distributed-systems
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100