Skip to content

AWS Lambda timeout warning not referring to the actual assigned timeout #4629

@samkit-jain

Description

@samkit-jain

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create an AWS Lambda function with a timeout of 900 seconds.
  2. Create a Sentry project and the DSN to the lambda function code with timeout warning enabled.
  3. Configure the function to exit after 200+ seconds.
  4. Notice that Sentry raises a timeout warning.

Expected Result

No timeout warning as the execution run time is not at all near the configured 900s run time.

Actual Result

ServerlessTimeoutWarning issue created on Sentry

WARNING : Function is expected to get timed out. Configured timeout duration = 236 seconds.

Configured timeout duration should be 900 seconds. The same can also be seen in the Lambda function

Image

Product Area

Issues

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions