You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling an activity with RetryOptions, if the maximum allowed amount of time spent retrying is exceeded, the orchestration stops. No exception is thrown that can be caught.
Language (JavaScript/TypeScript) and version: JavaScript
Node.js version: v21.7.3
To Reproduce
Activity code:
constdf=require('durable-functions');consthandler=async(input,context)=>{awaitnewPromise((resolve)=>setTimeout(resolve,3000));thrownewError('Simulated error after some time');};df.app.activity('activity',{
handler
});
Nothing will be logged when running this orchestration: the code doesn't reach the context.info('Activity succeeded'); statement, nor is an exception thrown.
Expected behavior
An exception should be thrown.
Actual behavior
No exception thrown, no value yielded from the callActivityWithRetry. Basically the orchestration is 'stuck' (but it's still in a Running state when queried through the instance API).
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling an activity with
RetryOptions
, if the maximum allowed amount of time spent retrying is exceeded, the orchestration stops. No exception is thrown that can be caught.Investigative information
To Reproduce
Activity code:
Orchestration code:
Nothing will be logged when running this orchestration: the code doesn't reach the
context.info('Activity succeeded');
statement, nor is an exception thrown.Expected behavior
An exception should be thrown.
Actual behavior
No exception thrown, no value yielded from the
callActivityWithRetry
. Basically the orchestration is 'stuck' (but it's still in a Running state when queried through the instance API).The text was updated successfully, but these errors were encountered: