dapr / dapr/python-sdk

[WORKFLOW SDK FEATURE REQUEST] Implement "new_guid" on WorkflowContext

Open
#1,188 0 comments 0 reactions 0 assignees View on GitHub
dapr-ext-workflow kind/enhancement
Dominant language
Python
Stars
272
Forks
152
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by locating the Python WorkflowContext API and its existing workflow-related tests. Compare the requested new_guid behavior with the linked Dapr .NET SDK implementation, then add the API and verify that generated GUIDs are replay-safe through the relevant test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.