microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
13 stars 7 forks source link

String parameters enclosed in quotes in activity functions #193

Open jsabev opened 6 months ago

jsabev commented 6 months ago

We are experiencing the issue described in azure-functions-durable-extension/issues/2674 in Java activity functions.

Our existing durable function orchestration started failing out of the blue. No changes were made to the code base or dependencies of our service using durable Java functions. The service works (for now) on a linux app service plan in Azure but fails on Windows with the latest Core Tools. String parameters are enclosed in quotes in any activity functions. Using the example capitalize cities workflow from the official docs demonstrates the issue. Output below:

{
    "name": "Cities",
    "instanceId": "47f91af6-e5f0-4ea1-a363-f6d00ca812c2",
    "runtimeStatus": "Completed",
    "input": null,
    "customStatus": "",
    "output": "\"TOKYO\", \"LONDON\", \"SEATTLE\", \"AUSTIN\"",
    "createdTime": "2024-03-07T17:16:49Z",
    "lastUpdatedTime": "2024-03-07T17:16:51Z"
}
jsabev commented 6 months ago

We have verified the issue exists on linux (tested on wsl ubuntu 22.04) as well with the latest core tools.

lilyjma commented 4 months ago

thanks @jsabev - we've been able to reproduce this. We'll add this to our backlog and will try to find time to get to it.