From 296ad19aed4489c3be4df592e79d9603705dae0f Mon Sep 17 00:00:00 2001 From: John Chrostek Date: Thu, 12 Mar 2026 15:34:23 -0400 Subject: [PATCH] Add span.kind=server assertion to base integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verify that aws.lambda spans include span.kind=server across all runtimes (Node.js, Python, Java, .NET). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- integration-tests/tests/base.test.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/integration-tests/tests/base.test.ts b/integration-tests/tests/base.test.ts index eecb9f500..c0b018c97 100644 --- a/integration-tests/tests/base.test.ts +++ b/integration-tests/tests/base.test.ts @@ -56,7 +56,10 @@ describe('Base Integration Tests', () => { attributes: { operation_name: 'aws.lambda', custom: { - cold_start: 'true' + cold_start: 'true', + span: { + kind: 'server' + } } } }); @@ -109,7 +112,10 @@ describe('Base Integration Tests', () => { attributes: { operation_name: 'aws.lambda', custom: { - cold_start: 'true' + cold_start: 'true', + span: { + kind: 'server' + } } } }); @@ -166,7 +172,10 @@ describe('Base Integration Tests', () => { attributes: { operation_name: 'aws.lambda', custom: { - cold_start: 'true' + cold_start: 'true', + span: { + kind: 'server' + } } } }); @@ -208,7 +217,10 @@ describe('Base Integration Tests', () => { attributes: { operation_name: 'aws.lambda', custom: { - cold_start: 'true' + cold_start: 'true', + span: { + kind: 'server' + } } } });