Skip to content

[SVLS-5988] add integration tests for snapstart#971

Merged
jchrostek-dd merged 5 commits intomainfrom
john/snapstart-support
Dec 26, 2025
Merged

[SVLS-5988] add integration tests for snapstart#971
jchrostek-dd merged 5 commits intomainfrom
john/snapstart-support

Conversation

@jchrostek-dd
Copy link
Copy Markdown
Contributor

@jchrostek-dd jchrostek-dd commented Dec 26, 2025

https://datadoghq.atlassian.net/browse/SVLS-5988
https://datadoghq.atlassian.net/browse/SVLS-7836

Overview

Adding integration tests for SnapStart, no functional changes to extension code.
1.) Testing that restore spans are created, and we don't use cold_start spans. This is a follow up to SVLS-7836.
2.) Testing that trace ids are correctly generated for SVLS-5988. If multiple lambdas are triggered, they should have unique trace ids. This is a potential issue for SnapStart because init is ran before taking the snapshot. This doesn't currently work for Python runtime so the test is commented out. Will follow up with APM Serverless team on correcting this.

Testing

  • Newly added integration tests pass.

@jchrostek-dd jchrostek-dd marked this pull request as ready for review December 26, 2025 18:03
@jchrostek-dd jchrostek-dd requested a review from a team as a code owner December 26, 2025 18:03
@jchrostek-dd jchrostek-dd merged commit da6f79e into main Dec 26, 2025
49 checks passed
@jchrostek-dd jchrostek-dd deleted the john/snapstart-support branch December 26, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants