Azure / Azure/azure-functions-durable-js
Support `instanceIdPrefix` filtering in instance queries (getStatusBy)
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 66
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 4
Description
The Durable Task extension HTTP API supports filtering instance queries by an instance ID prefix. For example:
`GET /runtime/webhooks/durabletask/instances/?instanceIdPrefix=xyz1234`
Currently, the .NET and Python SDK expose this capability, but the JavaScript/Node.js SDK does not expose a parameter for it when querying statuses (e.g., via `getStatusBy`).
Additional context:
This feature was recently added to the Python SDK to achieve parity with .NET:
* Python PR: [Azure/azure-functions-durable-python#604](https://github.com/Azure/azure-functions-durable-python/pull/604)
* Python Issue: [Azure/azure-functions-durable-python#601](https://github.com/Azure/azure-functions-durable-python/issues/601)
* Similar issue(Python): [Azure/azure-functions-durable-python#467](https://github.com/Azure/azure-functions-durable-python/issues/467)
Contributor guide
Research direction
Start by reading the JavaScript/Node.js SDK's `getStatusBy` query API and compare its available parameters with the `instanceIdPrefix` filtering described in the issue and the linked Python implementation reference. Identify the query construction and its tests, then verify that callers can pass a prefix and that the resulting query filters instance IDs as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100