Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DataDog/datadog-lambda-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.137.0
Choose a base ref
...
head repository: DataDog/datadog-lambda-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.138.0
Choose a head ref
  • 8 commits
  • 9 files changed
  • 6 contributors

Commits on Mar 31, 2026

  1. feat: [SVLS-8493] rename durable function execution tags (#748)

    * feat: [SVLS-8493] rename durable function execution tags
    
    Rename span tags:
    - durable_function_execution_id -> aws_lambda.durable_function.execution_id
    - durable_function_execution_name -> aws_lambda.durable_function.execution_name
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * feat: [SVLS-8493] rename durable function execution tags to aws_lambda prefix
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
    lym953 and claude authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    e7477a4 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2026

  1. fix: [SVLS-8538] apply durable function tags via setTag on the active…

    … span (#762)
    
    * fix: [SVLS-8538] apply durable function tags via setTag on the active span
    
    Tags for aws_lambda.durable_function.* were set through options.tags in
    tracer.wrap(), but that path does not reliably reach the aws.lambda span.
    Apply them directly via span.setTag() in onEndingInvocation(), the same
    way http.status_code is applied.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * remove logDebug from durable function tag application
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * add back logDebug for durable function tag application
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
    lym953 and claude authored Apr 14, 2026
    Configuration menu
    Copy the full SHA
    f8bbb2a View commit details
    Browse the repository at this point in the history
  2. feat: [SVLS-8721] add first_invocation tag for durable functions (#761)

    * remove logDebug from durable function tag application
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * add back logDebug for durable function tag application
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * feat: [SVLS-8493] add first_invocation tag for durable functions
    
    Tag `aws_lambda.durable_function.first_invocation` is set to "true"
    when `InitialExecutionState.Operations` has exactly one entry (first
    invocation) and "false" when it has more (replay). Omitted when
    InitialExecutionState is absent.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
    lym953 and claude authored Apr 14, 2026
    Configuration menu
    Copy the full SHA
    1f8a5e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2026

  1. [SVLS-8583] Add execution_status tag to aws.lambda span for durable f…

    …unctions (#764)
    
    * feat: [SVLS-8583] add execution_status tag to aws.lambda span for durable functions
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * chore: fix formatting
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * fix: [SVLS-8583] correct valid execution statuses to match InvocationStatus enum
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    * fix: [SVLS-8583] address code review comments
    
    - Use typeof string guard in extractDurableExecutionStatus for consistency
    - Move execution_status tagging outside durableFunctionContext block so it
      applies even when ARN parsing fails
    - Add listener.spec.ts tests for execution_status tag being set and not set
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.6 <[email protected]>
    lym953 and claude authored Apr 16, 2026
    Configuration menu
    Copy the full SHA
    c9b398b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2026

  1. support us2 govcloud environment (#765)

    * add us2
    
    * update comment
    
    * update usage comment
    
    * update aws role name
    
    * update usage comment
    ojproductions authored Apr 24, 2026
    Configuration menu
    Copy the full SHA
    b8f40e9 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2026

  1. [SVLS-8538] feat: rename durable function span tags to aws.durable.* (#…

    …778)
    
    * refactor: rename durable function span tags to aws.durable.*
    
    Rename span tags on the aws.lambda span from aws_lambda.durable_function.*
    to aws.durable.* (execution_name, execution_id, first_invocation,
    execution_status).
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    
    * style: collapse single-line setTag assertion after rename
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
    lym953 and claude authored May 21, 2026
    Configuration menu
    Copy the full SHA
    45f99fa View commit details
    Browse the repository at this point in the history

Commits on May 26, 2026

  1. [SVLS-518] fix: fix broken SFN -> lambda link (#779)

    datadog-lambda-js ignores upstream trace context propagated via Execution.Input._datadog when a Lambda is invoked from a Step Function, breaking trace continuity for the pattern: upstream Lambda → StartExecution → Step Function → downstream Lambda. This commit extracts datadog headers from Execution.Input._datadog when it is present, linking a lambda span to its upstream step function.
    ida613 authored May 26, 2026
    Configuration menu
    Copy the full SHA
    cc7d7c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. v12.138.0 (#780)

    joeyzhao2018 authored Jun 1, 2026
    Configuration menu
    Copy the full SHA
    739cb20 View commit details
    Browse the repository at this point in the history
Loading