Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9998f97
migrating datadog-lambda-go
joeyzhao2018 Sep 3, 2025
6bbaff0
copyright header fix
joeyzhao2018 Sep 5, 2025
9eb1e90
moving go.mod
joeyzhao2018 Sep 10, 2025
7122306
update go.mod
joeyzhao2018 Sep 10, 2025
6bb1d8f
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 15, 2025
6534248
fix go.mod files
joeyzhao2018 Sep 15, 2025
0947de8
follow the versioning convention
joeyzhao2018 Sep 15, 2025
edee75f
follow the new versioning convention
joeyzhao2018 Sep 16, 2025
3615345
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 16, 2025
0de2caa
update go.work file for datadog-lambda-go
joeyzhao2018 Sep 16, 2025
13e4222
remove lambdatest(integration test) for now
joeyzhao2018 Sep 16, 2025
8ad7c08
use relative path for testdata. fix extension_test.go. use instrument…
joeyzhao2018 Sep 17, 2025
6aa7dd7
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 17, 2025
11b1a5f
go.work.sum update
joeyzhao2018 Sep 17, 2025
7c65e0b
skip instrumentation analytics for lambda; versioning compatibility
joeyzhao2018 Sep 17, 2025
91d334e
update contribs_generated.go
joeyzhao2018 Sep 17, 2025
56abae6
update contribs_generated.go in internal/stacktrace
joeyzhao2018 Sep 17, 2025
d6dd400
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 18, 2025
3e93049
update contribs_generated.go
joeyzhao2018 Sep 18, 2025
681e225
update after fix_modules.sh
joeyzhao2018 Sep 18, 2025
a3cedf2
update contribs_generated.go
joeyzhao2018 Sep 18, 2025
8632e7c
update contribs_generated.go
joeyzhao2018 Sep 18, 2025
b341f42
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 19, 2025
d8d3660
migrate datadog-lambda-go integration tests
joeyzhao2018 Sep 24, 2025
c25f36e
update the run_integration_tests.sh
joeyzhao2018 Sep 24, 2025
22d766c
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 24, 2025
8a65b2d
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 24, 2025
30b2513
remove extra char
joeyzhao2018 Sep 24, 2025
6df1fdf
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 24, 2025
b0c65dc
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 24, 2025
405620a
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 24, 2025
36fcf2f
add extension.go change https://github.com/DataDog/datadog-lambda-go/…
joeyzhao2018 Sep 24, 2025
4c9f279
add metrics listener change https://github.com/DataDog/datadog-lambda…
joeyzhao2018 Sep 24, 2025
a66d5bb
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 24, 2025
afae97f
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 24, 2025
b270629
should use TraceIDLower in SendEndInvocationRequest
joeyzhao2018 Sep 24, 2025
a74f8e1
update after running fix_modules.sh
joeyzhao2018 Sep 24, 2025
c0f10de
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 24, 2025
ae878a8
extension use LowerTraceID; update run_integration_tests.sh
joeyzhao2018 Sep 24, 2025
60cf815
fix telemetry_test.go by skipping for the integration_tests directory
joeyzhao2018 Sep 24, 2025
eeaa4d2
copyright fix
joeyzhao2018 Sep 24, 2025
c5fdb75
TestIntegrationEnabled skip paths contains "test"
joeyzhao2018 Sep 25, 2025
1cfa1f0
use just "integration_tests"
joeyzhao2018 Sep 25, 2025
8b4d6a7
Merge branch 'main' into joey/migration
joeyzhao2018 Sep 25, 2025
71a7d5f
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 25, 2025
9d07173
use the constants in packages.go
joeyzhao2018 Sep 25, 2025
a36de44
Merge branch 'joey/migration' into joey/migrate-integration-tests
joeyzhao2018 Sep 25, 2025
5cc16a4
remove unused code
joeyzhao2018 Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/lambda-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Lambda Integration Tests

on:
schedule:
- cron: '0 15 * * *' # Daily at 15:00 UTC
workflow_dispatch: # Allow manual triggering

permissions:
contents: read

jobs:
lambda-integration-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.25'

- name: Set up Node 22
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 22

- name: Cache Node modules
id: cache-node-modules
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install Serverless Framework
run: sudo yarn global add serverless@^3.38.0 --prefix /usr/local

- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
working-directory: contrib/aws/datadog-lambda-go/tests/integration_tests/
run: yarn install

- name: Run Lambda integration tests
env:
BUILD_LAYERS: true
DD_API_KEY: ${{ secrets.DD_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
working-directory: contrib/aws/datadog-lambda-go/tests/integration_tests/
run: ./run_integration_tests.sh
11 changes: 11 additions & 0 deletions contrib/aws/datadog-lambda-go/awslambdanorpc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//go:build lambda.norpc
// +build lambda.norpc

// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016 Datadog, Inc.

package ddlambda

const awsLambdaRpcSupport = false
11 changes: 11 additions & 0 deletions contrib/aws/datadog-lambda-go/awslambdawithrpc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//go:build !lambda.norpc
// +build !lambda.norpc

// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016 Datadog, Inc.

package ddlambda

const awsLambdaRpcSupport = true
Loading
Loading