Skip to content

feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection #50494

feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection

feat(aws-serverless): Replace OTel Lambda instrumentation with handler redirection #50494

Re-run triggered July 8, 2026 11:49
Status Failure
Total duration 7m 38s
Artifacts 5

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
5s
Get CI Metadata / Get Metadata
Check lockfile
3m 27s
Check lockfile
Check file formatting
44s
Check file formatting
Check PR branches
2s
Check PR branches
Build bundles
3m 2s
Build bundles
Build Lambda layer
1m 58s
Build Lambda layer
Matrix: job_node_core_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 4s
Lint
Circular Dependency Check
1m 41s
Circular Dependency Check
Browser Unit Tests
45s
Browser Unit Tests
Bun Unit Tests
Bun Unit Tests
Deno Unit Tests
Deno Unit Tests
Node v18.0.0 Compatibility Check
Node v18.0.0 Compatibility Check
Cloudflare Integration Tests
3m 12s
Cloudflare Integration Tests
Bundler Plugin Integration Tests
3m 8s
Bundler Plugin Integration Tests
Bun Integration Tests
Bun Integration Tests
Deno Integration Tests
Deno Integration Tests
Check for faulty .d.ts files
37s
Check for faulty .d.ts files
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Upload Artifacts
Upload Artifacts
Matrix: job_e2e_tests
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

24 errors, 1 warning, and 1 notice
Node (18) Unit Tests
Process completed with exit code 1.
test/awslambda-integration.test.ts > redirectLambdaHandler > setupOnce redirects the handler: packages/aws-serverless/test/awslambda-integration.test.ts#L96
AssertionError: expected 'index.handler' to match /\/run-lam…/run-lambda-handler\.handler$ - Expected: /\/run-lambda-handler\.handler$/ + Received: "index.handler" ❯ test/awslambda-integration.test.ts:96:34
test/awslambda-integration.test.ts > redirectLambdaHandler > does not redirect twice: packages/aws-serverless/test/awslambda-integration.test.ts#L87
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:87:49
test/awslambda-integration.test.ts > redirectLambdaHandler > redirects _HANDLER to the shim and stores the original handler: packages/aws-serverless/test/awslambda-integration.test.ts#L43
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:43:49
Node (20) Unit Tests
Process completed with exit code 1.
test/awslambda-integration.test.ts > redirectLambdaHandler > setupOnce redirects the handler: packages/aws-serverless/test/awslambda-integration.test.ts#L96
AssertionError: expected 'index.handler' to match /\/run-lam…/run-lambda-handler\.handler$ - Expected: /\/run-lambda-handler\.handler$/ + Received: "index.handler" ❯ test/awslambda-integration.test.ts:96:34
test/awslambda-integration.test.ts > redirectLambdaHandler > does not redirect twice: packages/aws-serverless/test/awslambda-integration.test.ts#L87
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:87:49
test/awslambda-integration.test.ts > redirectLambdaHandler > redirects _HANDLER to the shim and stores the original handler: packages/aws-serverless/test/awslambda-integration.test.ts#L43
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:43:49
Node (22) Unit Tests
Process completed with exit code 1.
test/awslambda-integration.test.ts > redirectLambdaHandler > setupOnce redirects the handler: packages/aws-serverless/test/awslambda-integration.test.ts#L96
AssertionError: expected 'index.handler' to match /\/run-lam…/run-lambda-handler\.handler$ - Expected: /\/run-lambda-handler\.handler$/ + Received: "index.handler" ❯ test/awslambda-integration.test.ts:96:34
test/awslambda-integration.test.ts > redirectLambdaHandler > does not redirect twice: packages/aws-serverless/test/awslambda-integration.test.ts#L87
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:87:49
test/awslambda-integration.test.ts > redirectLambdaHandler > redirects _HANDLER to the shim and stores the original handler: packages/aws-serverless/test/awslambda-integration.test.ts#L43
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:43:49
Node (24) Unit Tests
Process completed with exit code 1.
test/awslambda-integration.test.ts > redirectLambdaHandler > setupOnce redirects the handler: packages/aws-serverless/test/awslambda-integration.test.ts#L96
AssertionError: expected 'index.handler' to match /\/run-lam…/run-lambda-handler\.handler$ - Expected: /\/run-lambda-handler\.handler$/ + Received: "index.handler" ❯ test/awslambda-integration.test.ts:96:34
test/awslambda-integration.test.ts > redirectLambdaHandler > does not redirect twice: packages/aws-serverless/test/awslambda-integration.test.ts#L87
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:87:49
test/awslambda-integration.test.ts > redirectLambdaHandler > redirects _HANDLER to the shim and stores the original handler: packages/aws-serverless/test/awslambda-integration.test.ts#L43
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:43:49
Node (26) Unit Tests
Process completed with exit code 1.
test/awslambda-integration.test.ts > redirectLambdaHandler > setupOnce redirects the handler: packages/aws-serverless/test/awslambda-integration.test.ts#L96
AssertionError: expected 'index.handler' to match /\/run-lam…/run-lambda-handler\.handler$ - Expected: /\/run-lambda-handler\.handler$/ + Received: "index.handler" ❯ test/awslambda-integration.test.ts:96:34
test/awslambda-integration.test.ts > redirectLambdaHandler > does not redirect twice: packages/aws-serverless/test/awslambda-integration.test.ts#L87
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:87:49
test/awslambda-integration.test.ts > redirectLambdaHandler > redirects _HANDLER to the shim and stores the original handler: packages/aws-serverless/test/awslambda-integration.test.ts#L43
AssertionError: expected undefined to be 'index.handler' // Object.is equality - Expected: "index.handler" + Received: undefined ❯ test/awslambda-integration.test.ts:43:49
E2E aws-serverless Test
Process completed with exit code 1.
[chromium] › tests/npm.test.ts:74:7 › NPM package › tracing in ESM works: ../../_temp/test-application/tests/npm.test.ts#L0
2) [chromium] › tests/npm.test.ts:74:7 › NPM package › tracing in ESM works ────────────────────── Test timeout of 180000ms exceeded.
[chromium] › tests/npm.test.ts:6:7 › NPM package › tracing in CJS works: ../../_temp/test-application/tests/npm.test.ts#L0
1) [chromium] › tests/npm.test.ts:6:7 › NPM package › tracing in CJS works ─────────────────────── Test timeout of 180000ms exceeded.
All required jobs passed or were skipped
Process completed with exit code 1.
E2E aws-serverless Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: aws-actions/setup-sam@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
2 failed [chromium] › tests/npm.test.ts:6:7 › NPM package › tracing in CJS works ──────────────────────── [chromium] › tests/npm.test.ts:74:7 › NPM package › tracing in ESM works ───────────────────────

Artifacts

Produced during runtime
Name Size Digest
playwright-traces-job_e2e_playwright_tests-aws-serverless
7.33 KB
sha256:212510514800a0ea881d655cf194ae1e23d2c6c66d19ea6b85769da54f266091