Skip to content

DurableExecutionArn field name in logger metadata #2423

Description

@zhongkechen

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

  • Select this option if this issue appears to be a regression.

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

  1. create an dotnet durable function, in which calls context.logger to write logs
  2. invoke the function and find the execution on AWS Lambda console
  3. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.investigatingThis issue is being investigated and/or work is in progress to resolve the issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions