azure-functions-durable-js: Adding extendedSessionsEnabled configuration causes the orchestration to be stuck in pending / running state.

Investigative information

  • Durable Functions extension version: 1.8.0 and 1.8.3
  • durable-functions npm module version: 1.2.2
  • Language (JavaScript/TypeScript) and version: Javascript
  • Node.js version: 10.14.1

Describe the bug Adding extendedSessionsEnabled configuration to host.json causes the orchestration to be stuck in pending / running state.

To Reproduce

  • Create a function app in portal with node runtime
  • Set the host.config to
{
  "version": "2.0",
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[1.*, 2.0.0)"
  },
  "extensions": {
    "durableTask": {
      "extendedSessionsEnabled": true,
      "extendedSessionIdleTimeoutInSeconds": 30
    }
  }
}
  • Install durable-functions npm pacakge
  • Create a function via durable functions templates
  • Execute the function

Observed Behavior: After executing the durable function via httpStarter function. Going to the status uri shows that the function is stuck in pending / running state. Removing the extendedSessionsEnabled fixes the issue of being stuck in pending / running state.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 20 (2 by maintainers)

Most upvoted comments

It just ignores it if it is true for now (I believe it does log a warning though). If/when we add some sort of extended session support for out-of-proc, we will resume respecting values of true.