You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(integration): cover dist/handler.handler under AWS-stock RIC
Add container-image integration tests that exercise the npm-redirect
path through the AWS-published `public.ecr.aws/lambda/nodejs:N` base
image, with both CJS and ESM user handlers. Closes the gap from the
existing `esm_node*` tests, which only cover the layer path
(`/opt/nodejs/node_modules/datadog-lambda-js/handler.handler`) where
only `handler.mjs` has ever been shipped.
These tests would fail under any future regression that re-introduces
a CJS-shadowing artifact at `dist/handler.js`, including the original
#305 scenario for stock AWS RIC.
- integration_tests/container/{cjs,esm}/ — Dockerfiles + handlers
- serverless.yml — provider.ecr.images + container-{cjs,esm}_node funcs
- run_integration_tests.sh — pack local datadog-lambda-js before deploy,
thread NODE_MAJOR for ECR build args, add handlers to snapshot loop
0 commit comments