Skip to content

test: add integration tests for durable_function_execution_status tag#1113

Draft
jchrostek-dd wants to merge 2 commits intomainfrom
john/de-status
Draft

test: add integration tests for durable_function_execution_status tag#1113
jchrostek-dd wants to merge 2 commits intomainfrom
john/de-status

Conversation

@jchrostek-dd
Copy link
Contributor

Summary

Adds integration test infrastructure to verify the durable_function_execution_status tag is properly added to aws.lambda spans when using AWS Lambda Durable Execution SDK.

This test supports the feature implementation in datadog-lambda-python.

Changes

  • CDK Stack (lib/stacks/de-status.ts): Durable execution enabled Python Lambda
  • Lambda Handler (lambda/de-status-python/): Python function using @durable_execution decorator
  • Tests (tests/de-status.test.ts): Integration tests verifying the tag

Tests Verify

  • Lambda invokes successfully
  • Logs appear in Datadog
  • Traces are sent with aws.lambda operation name
  • durable_function_execution_status tag is present with valid value (SUCCEEDED/FAILED/PENDING)

Related PRs

🤖 Generated with Claude Code

jchrostek-dd and others added 2 commits March 18, 2026 14:45
Adds integration test infrastructure to verify the durable_function_execution_status
tag is properly added to aws.lambda spans when using AWS Lambda Durable Execution SDK.

- CDK stack with durable execution enabled Python Lambda
- Python handler using @durable_execution decorator
- Integration tests verifying the tag appears with expected values

Tests verify:
- Lambda invokes successfully
- Logs appear in Datadog
- Traces are sent with aws.lambda operation
- durable_function_execution_status tag is present with valid value (SUCCEEDED/FAILED/PENDING)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant