aws / aws/aws-lambda-runtime-interface-emulator

Handler hangs when using datadog-agent from the Datadog-Extension layer (version 19,21)

Open
#65 0 comments 4 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.1k
Forks
118
Avg merge
42m
Merged PRs (30d)
2

Description

When using datadog-agent the handler hangs (300s) then kills the container.

Using the debug log I was able to track it down to this call:

https://github.com/aws/aws-lambda-runtime-interface-emulator/blob/2ca3e4aec8ef5cec6139c531f8dd8c31dffc5bcd/lambda/rapid/start.go#L351

Any hints on what could be the issue here ?

Contributor guide

Open the contributing guide

Research direction

Start at lambda/rapid/start.go around line 351, the call identified through the debug log, and reproduce the 300-second hang while using datadog-agent from the Datadog-Extension layer versions 19 or 21. Trace why that call does not return and document a fix or clear cause that prevents the container from being killed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.