Skip to content

Conversation

@phipag
Copy link
Contributor

@phipag phipag commented Dec 11, 2025

Summary

This PR is based on #2317 contributed by @Attyuttam.

They contributed the cold start detection algorithm for suppressing cold start detection on non ON-DEMAND invocations. This PR just gives some finishing touches on supporting it throughout other modules without breaking unit tests.

⭐ Big thanks to @Attyuttam!

Changes

  • Adds cold-start logic by parsing AWS_LAMBDA_INITIALIZATION_TYPE env var
  • Removes unnecessary and redundant declaration of maven surefire version
  • Add env var to unit tests asserting cold starts. For example, cold start metric emissions, tracing annotation etc.

Issue number: #2113


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@sonarqubecloud
Copy link

@phipag phipag self-assigned this Dec 11, 2025
@phipag phipag requested review from hjgraca and svozza and removed request for svozza December 11, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants