Open lilyjma opened 6 months ago
When running DF in .NET isolated model, the terminatePostUri is formatted strangely. It still works when you use the endpoint, but you get some extra text and the system key as the reason, which is probably bad:
terminatePostUri
"terminatePostUri": "http://localhost:7071/runtime/webhooks/durabletask/instances/3754a59f898a41abafc280e5ab721bef/terminate?reason={{text}}}\u0026code={systemKey}"
Note the {{text}}}\u0026 after reason. As a result, statusQueryGetUri returns:
statusQueryGetUri
"output":"{{test}}}\u0026code={the system key}"
The terminatePostUri should probably be formatted like .NET in proc:
"terminatePostUri": "http://localhost:7071/runtime/webhooks/durabletask/instances/d3b72dddefce4e758d92f4d411567177/terminate?reason={text}&taskHub={taskHub}&connection={connection}&code={systemKey}"
And you get only this as the reason:
"output":"{testterminate}"
Description
"terminatePostUri": "http://localhost:7071/runtime/webhooks/durabletask/instances/3754a59f898a41abafc280e5ab721bef/terminate?reason={{text}}}\u0026code={systemKey}"
Note the {{text}}}\u0026 after reason. As a result,
statusQueryGetUri
returns:"output":"{{test}}}\u0026code={the system key}"
Expected behavior
"terminatePostUri": "http://localhost:7071/runtime/webhooks/durabletask/instances/d3b72dddefce4e758d92f4d411567177/terminate?reason={text}&taskHub={taskHub}&connection={connection}&code={systemKey}"
And you get only this as the reason:
"output":"{testterminate}"
App Details