Azure / Azure/azure-functions-durable-js

Support having a "handle" field for the RetryOptions object

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
Enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.