Open Mohakane opened 2 years ago
Hi @Mohakane,
Is this an issue for Durable Functions or durableTask? Trying to determine whether to move this issue to the Durable Functions Extension repo, as you're currently in the durableTask repo instead.
hi @davidmrdavid,
This is an issue for durableTask.
Thanks for clarifying, @Mohakane.
Would it be possible for you to provide us with a reproducer project? That would help us get to the bottom of this
Hello @davidmrdavid
you can find attached a reproducer project. you need to run azurite too.
Thanks @Mohakane.
I ran your project and didn't encounter an error.
This is what I see on my terminal:
and here's the run-time value I received in result
Is this different from what you're seeing? If it is, could you please post a few screenshots of what you're getting? Thanks!
Hello @davidmrdavid ,
when I run the project using azurite emulator we get a status code 400 (Bad request).
You can see the exception in the picture below.
instance creation
purge history exception
console logs
Thanks @Mohakane, that's indeed a strange result. @amdeel - any chance you could take a look at this? Not certain how to proceed with these differing results.
Hello it s a problem with azurite. I need to try it but maybe next version is fixing that. I have fixed some error in actual version but there are still some.
Thanks @bhugot. Just to confirm - are you saying that this will be fixed in an upcoming version of Azurite?
Hi,
Description When we try to purge the instances history on local azure storage, using the PurgeInstanceHistoryAsync(DateTime createdTimeFrom, DateTime? createdTimeTo, IEnumerable runtimeStatus) we receive an exception "BadRequest".
we are not able to find out what is wrong.
Expected behavior We expect that the records on the instance and the history table will be deleted for the specified range date and runtime status.
Actual behavior the function return an exception with BadRequest message .
App Details Microsoft.Azure.Functions.Extensions v1.1.0 Microsoft.Azure.WebJobs.Extensions.DurableTask v2.7.2 Azurite emulator for local Azure Storage Programming language used: .NET (C#) .NET 6.0