microsoft / microsoft/durabletask-mssql

Expose orchestration version in paged status results

Open
#328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Triage :mag:
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.Version into DurableOrchestrationStatus.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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.