Skip to content

Increase default debugger snapshot timeout from 10ms to 1s#5705

Merged
dd-mergequeue[bot] merged 1 commit intomainfrom
watson/DEBUG-4727/debugger-snapshot-time-budget
Nov 14, 2025
Merged

Increase default debugger snapshot timeout from 10ms to 1s#5705
dd-mergequeue[bot] merged 1 commit intomainfrom
watson/DEBUG-4727/debugger-snapshot-time-budget

Conversation

@watson
Copy link
Copy Markdown
Contributor

@watson watson commented Nov 13, 2025

Motivation

This is required in order for DataDog/dd-trace-js#6897 to land, so that the tests are not flaky.

Changes

Increase default debugger snapshot timeout from 10ms to 1s in the following scenarios:

  • debugger_pii_redaction
  • tracing_config_nondefault_4

Without this increase the tests would be flaky for Node.js, as they are expecting to see a specific property with a specific value inside the collected snapshot. If the timeout occurred, that property might not be captured in the snapshot.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

Copy link
Copy Markdown
Contributor Author

watson commented Nov 13, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

utils/_context/_scenarios/__init__.py                                   @DataDog/system-tests-core

@watson watson force-pushed the watson/DEBUG-4727/debugger-snapshot-time-budget branch from b401721 to a183565 Compare November 13, 2025 11:09
@watson watson changed the title [nodejs]: increase default debugger snapshot timeout from 10ms to 1s Increase default debugger snapshot timeout from 10ms to 1s Nov 13, 2025
Without this increase the tests would be flaky, as they are expecting to
see a specific property with a specific value inside the collected
snapshot. If the timeout occurred, that property might not be captured
in the snapshot.
@watson watson force-pushed the watson/DEBUG-4727/debugger-snapshot-time-budget branch from a183565 to 3b3583a Compare November 13, 2025 11:16
@watson watson requested a review from a team November 13, 2025 11:55
@watson watson marked this pull request as ready for review November 13, 2025 14:33
@watson watson requested a review from a team as a code owner November 13, 2025 14:33
@watson
Copy link
Copy Markdown
Contributor Author

watson commented Nov 14, 2025

/merge

@dd-devflow-routing-codex
Copy link
Copy Markdown

dd-devflow-routing-codex Bot commented Nov 14, 2025

View all feedbacks in Devflow UI.

2025-11-14 09:56:34 UTC ℹ️ Start processing command /merge


2025-11-14 09:56:39 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 10m (p90).


2025-11-14 09:59:02 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue Bot merged commit 46b861b into main Nov 14, 2025
2569 of 2571 checks passed
@dd-mergequeue dd-mergequeue Bot deleted the watson/DEBUG-4727/debugger-snapshot-time-budget branch November 14, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants