test(debugger): raise snapshot spec capture timeout#7654
Merged
Conversation
Contributor
Overall package sizeSelf size: 4.87 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 816.75 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7654 +/- ##
=======================================
Coverage 80.28% 80.28%
=======================================
Files 738 738
Lines 31897 31897
=======================================
Hits 25610 25610
Misses 6287 6287 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Set DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS to 100 for integration-tests/debugger/snapshot.spec.js. This reduces CI flakiness from timeout-truncated snapshots and keeps the strict snapshot shape assertions deterministic.
BridgeAR
approved these changes
Mar 3, 2026
dd-octo-sts bot
pushed a commit
that referenced
this pull request
Mar 4, 2026
Set DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS to 100 for integration-tests/debugger/snapshot.spec.js. This reduces CI flakiness from timeout-truncated snapshots and keeps the strict snapshot shape assertions deterministic.
Merged
juan-fernandez
pushed a commit
that referenced
this pull request
Mar 5, 2026
Set DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS to 100 for integration-tests/debugger/snapshot.spec.js. This reduces CI flakiness from timeout-truncated snapshots and keeps the strict snapshot shape assertions deterministic.
crysmags
pushed a commit
that referenced
this pull request
Mar 6, 2026
Set DD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MS to 100 for integration-tests/debugger/snapshot.spec.js. This reduces CI flakiness from timeout-truncated snapshots and keeps the strict snapshot shape assertions deterministic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
This PR makes
integration-tests/debugger/snapshot.spec.jsmore deterministic by settingDD_DYNAMIC_INSTRUMENTATION_CAPTURE_TIMEOUT_MSto100in the sharedsetup()environment, so all snapshot tests in that file run with a higher capture deadline.Motivation
DebuggerCI had a flaky failure where the snapshot payload was partially truncated withnotCapturedReason: 'timeout'under the default capture budget, causing strict deep-equality assertions insnapshot.spec.jsto fail intermittently even though behavior was otherwise correct. Increasing the timeout in this test file reduces timing sensitivity and stabilizes the suite.