Describe the bug
The field name for durable execution arn is durableExecutionArn but AWS lambda console is currently expecting executionArn, leading to missing logs when AWS Lambda Console querying logs by filtering with the field name executionArn.
|
["durableExecutionArn"] = invocationInput.DurableExecutionArn, |
Regression Issue
Expected Behavior
AWS lambda console is currently expecting executionArn, leading to missing logs when AWS Lambda Console querying logs by filtering with the field name executionArn.
Current Behavior
The field name for durable execution arn is durableExecutionArn
Reproduction Steps
- create an dotnet durable function, in which calls context.logger to write logs
- invoke the function and find the execution on AWS Lambda console
- switch
Logger output on the execution detail page
Possible Solution
Rename the field to executionArn although durableExecutionArn is more widely used e.g. in API requests/responses. Otherwise, AWS Lambda Console needs to be patched to support durableExecutionArn.
Additional Information/Context
aws/aws-durable-execution-sdk-java#438
AWS .NET SDK and/or Package version used
any
Targeted .NET Platform
any
Operating System and version
any
Describe the bug
The field name for durable execution arn is
durableExecutionArnbut AWS lambda console is currently expectingexecutionArn, leading to missing logs when AWS Lambda Console querying logs by filtering with the field nameexecutionArn.aws-lambda-dotnet/Libraries/src/Amazon.Lambda.DurableExecution/DurableFunction.cs
Line 124 in 3a0c85c
Regression Issue
Expected Behavior
AWS lambda console is currently expecting
executionArn, leading to missing logs when AWS Lambda Console querying logs by filtering with the field nameexecutionArn.Current Behavior
The field name for durable execution arn is
durableExecutionArnReproduction Steps
Logger outputon the execution detail pagePossible Solution
Rename the field to
executionArnalthoughdurableExecutionArnis more widely used e.g. in API requests/responses. Otherwise, AWS Lambda Console needs to be patched to supportdurableExecutionArn.Additional Information/Context
aws/aws-durable-execution-sdk-java#438
AWS .NET SDK and/or Package version used
any
Targeted .NET Platform
any
Operating System and version
any