821 questions
1
vote
1
answer
596
views
How to unit test azure durable function in javascript for v4?
how to write unit test case of this durable function. it is calling through app and df, so it does not have any function. how can i call the trigger and orchestrator? Here is my code
const { app } = ...
2
votes
1
answer
2k
views
Unit Testing Isolated Model Azure Durable Function Orchestrator in .Net 8
The documentation for Durable Function Testing only talks about the in-proc model - https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-unit-testing
I have a timer-...
0
votes
1
answer
229
views
How can error stack traces be logged in Azure Durable Functions for Typescript?
We are using Azure Durable Functions with Typescript and the framework and runtime works great as such, but when a trigger or orchestration fails and throws an exception we are left scratching our ...
1
vote
1
answer
322
views
Azure durable function : processing a list
I have an azure durable function wrote in python with an orchestrator and two activity functions
Orchestrator calls the first activity function and in return receive a list variable (List of names and ...
5
votes
2
answers
4k
views
Durable Functions get status in isolated functions?
We are using Durable Functions in an Azure Function App as a backend. The frontend is hosted using Azure Static Web App and the API is linked so all the requests are proxied through the SWA. As a ...
1
vote
1
answer
2k
views
Durable Functions Error: Can't determine project language from files
I am using durable function to setup a process where I am calling 6 functions at once and post it's success I need to execute a proc.
This is already setup using Logic Apps, but sometimes the ...
1
vote
0
answers
78
views
How can I migrate saved state for an Azure durable entity from function based to class based?
Problem
I discovered to my horror that class based durable entities in Azure Function persist state differently than function based entities.
Class based entities serialise state to json and put it ...
0
votes
1
answer
166
views
context.df.isReplaying is always undefined
I’m trying to build an Azure durable function in TypeScript using the programming model v4.
Sadly during my tests I noticed that every context.log is logged multiple times.
After digging in, I’ve ...
0
votes
2
answers
536
views
Azure PowerShell Function fails to run when deployed but works locally
Azure PowerShell function works locally in VS Code successfully. However, when deployed to a function and run in Azure portal, it fails with the following error:
2023-12-14T21:05:44Z [Verbose] ...
0
votes
1
answer
2k
views
Passing multiple parameters to Azure Durable Function
Trying to pass multiple parameters to an Azure Durable Orchestrator function, using "short hand" tuples, from a HttpTrigger function:
var param1 = Guid.NewGuid().ToString();
var param2 = ...
2
votes
2
answers
2k
views
How to get Current entity in isolated model azure durable function
I have an Azure durable function project created with the in-process model.
Now i want to migrate my project to the isolated model. one of the problems that i'm facing
is the fact that i cannot find a ...
0
votes
1
answer
212
views
Azure Durable Functions. How to make activities share a common data object that is very large?
I need roughly 30 parallel worker activities to scan through a very large data dictionary in python. This dictionary is hundreds of megabytes in size. But I do not want to make 30 different copies of ...
1
vote
1
answer
2k
views
Azure Durable Functions: Calling an activity function that has no input parameters in a dotnet-isolated Durable Function
I have an orchestration where the first step is an activity that consumes a feed. This activity does not require any input since the feed url is read from an environment variable.
The line of code of ...
0
votes
1
answer
539
views
Durable Azure Functions suddenly escapes string input parameters for activity function when using nameof()
I am upgrading my function app from from NET 7 to NET 8. I very quickly ran into problems, and currently I am debugging a supposed change in behaviour when passing a string input from an durable ...
0
votes
1
answer
91
views
Increase intervals between processing attempts for service bus triggered azure function
I have Service Bus Triggered Azure Function which processes incoming messages. It has usual 10 attempts before message ends up in DLQ. To process the message the function reads information from ...
1
vote
1
answer
385
views
Azure Durable Functions Identity-based queueTrigger binding '__queueServiceUri' does not exist
I've gone through the whole process of setting up an identity-based connection for my Python orchestrator activity.
documentation I referred to.
However, for some reason, the env variable ...
0
votes
1
answer
159
views
How to check the execution time and amount of data for each line of code in Python [duplicate]
I am trying to optimally split Python code on FaaS to improve response time.
To split the code at the optimal location, I need the execution time of each line and the size of the data on which each ...
0
votes
1
answer
67
views
Solution for "Function not implemented: '. /MNIST'" in Durable functions
I would like to create a code to classify MNIST using the Durable function.
I have created the following code.
This code looks long, but it is mostly classes. Activity functions are not that long.
...
0
votes
1
answer
447
views
Using Sub-Orchestrators for Fan-In Performance Increase
I'm running a Durable Function (.NET 7 Isolated Worker) that fans out to 1000s of instances of a particular Activity Function and each instance stores it's contents into the same file in Blob Storage. ...
0
votes
1
answer
83
views
How to Log Machine Learning with Azure Functions
I am planning to implement machine learning with Durable functions in Azure Functions.
Machine learning requires logging the learning steps, should I log to Blob storage in Azure Functions?
Please let ...
0
votes
1
answer
72
views
What the Application Insights query represents
Assume I am sending 1 request per 10 minutes in Azure Durable Functions. Then, in the Applications Insights log, enter the following in the query
requests
| where timestamp > ago(10m)
| summarize ...
0
votes
1
answer
902
views
How to enter a query to get response times in Azure Portal
I want to send HTTP requests with Azure Functions and measure the response time of each request.
I believe I can check the response time for each request in the logs in the Applications Insights in ...
2
votes
1
answer
509
views
How Can I Ensure Quartz.NET Scheduling Compatibility in a Multi-tenant Azure Application Before Enabling Auto-Scaling?
I am working on a project that utilizes Quartz.NET for scheduling data pulls within a multi-tenant Azure environment. We are considering enabling auto-scaling and want to ensure that Quartz.NET is ...
0
votes
1
answer
51
views
How to measure and increase instance connection times for Durable functions
I am trying to measure the connection time to an instance connecting to an external service with the Durable function.
Is the following code correctly measuring the startup time and connection time of ...
1
vote
1
answer
314
views
How to define multiple Azure TaskHub in host.json
I want to have 2 Durable Functions, that would use separated TaskHub's (different configurations, storage, etc). It's possible to use TaskHubName in the Function declaration, so it must be possible to ...