microsoft / microsoft/durabletask-mssql
Expose orchestration version in paged status results
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 105
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Azure/azure-functions-durable-extension#3532 adds an optional Version property to DurableOrchestrationStatus and exposes it as version in HTTP status responses.
The SQL provider's paged query path manually constructs DurableOrchestrationStatus in src/DurableTask.SqlServer.AzureFunctions/SqlDurabilityProvider.cs (GetOrchestrationStateWithPagination) but does not copy OrchestrationState.Version. Consequently, single-instance status queries expose the version through the extension's shared conversion, while collection queries (GET /instances, Node/Python getStatusAll and getStatusBy) omit it for MSSQL.
After a compatible WebJobs Durable extension package containing the new property is available:
- Map
s.VersionintoDurableOrchestrationStatus.Version, normalizing the unversioned empty-string sentinel consistently with the extension. - Add coverage for versioned and unversioned paged query results.
Related extension PR: Azure/azure-functions-durable-extension#3532
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/DurableTask.SqlServer.AzureFunctions/SqlDurabilityProvider.cs, focusing on GetOrchestrationStateWithPagination and how it constructs DurableOrchestrationStatus. Check the compatible WebJobs Durable extension package and compare its version handling with the shared conversion. Done means paged results cover both versioned and unversioned orchestration states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100