microsoft / microsoft/durabletask-java

String parameters enclosed in quotes in activity functions

Open
#193 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.