microsoft / microsoft/durabletask-java
String parameters enclosed in quotes in activity functions
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 29
- Forks
- 18
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
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"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with endtoendtests/src/main/java/com/functions/AzureFunctions.java and reproduce the capitalize cities workflow on Windows using the latest Core Tools. Compare the activity output with the linked azure-functions-durable-extension issue; done means string parameters are no longer returned with enclosing quotes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100