Azure / Azure/azure-functions-durable-js
Support having a "handle" field for the RetryOptions object
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 66
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 4
Description
In retriable DF APIs, dotnet users can add a "handle" field to their "RetryOptions" object. This allows them to provide custom logic to determine whether or not to shortcircuit a retriable operation such that the task is no longer attempted. This is difficult to do in the OOProc model, but we should investigate how to enable it.
Some of the relevant dotnet documentation is here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.webjobs.extensions.durabletask.retryoptions?view=azure-dotnet
Contributor guide
Research direction
Start by locating the RetryOptions definition and the retriable DF API entry points in the TypeScript library, then compare their behavior with the linked .NET RetryOptions documentation. Determine how a handle could work in the OOProc model and define the required behavior and tests for short-circuiting retries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100