Skip to content

Update JavaScript test optimization docs#37950

Draft
juan-fernandez wants to merge 4 commits into
masterfrom
juan-fernandez/update-js-test-optimization-docs
Draft

Update JavaScript test optimization docs#37950
juan-fernandez wants to merge 4 commits into
masterfrom
juan-fernandez/update-js-test-optimization-docs

Conversation

@juan-fernandez

@juan-fernandez juan-fernandez commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Updates the JavaScript and TypeScript Test Optimization setup documentation to:

  • Split supported framework versions for dd-trace v5 and v6 into tabs, with v6 shown first.
  • Document Vitest test.concurrent support versions and the optional DD_EXPERIMENTAL_TEST_OPT_VITEST_NO_WORKER_INIT optimization flag.
  • Update Playwright custom tags and measures to use the active test span directly.
  • Remove obsolete Cypress pre-10 setup guidance and the Jest --workerThreads known limitation.
  • Update DD_TEST_SESSION_NAME default behavior for dd-trace v6.

No Jira ticket.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

AI assistance

Used Codex for documentation edits, GitHub source checks, and local verification.

Additional notes

Validation:

  • git diff --check
  • git verify-commit HEAD

Vale could not be run locally because vale is not installed on PATH.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

@juan-fernandez

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Automated review by Claude. AI-generated; verify before acting.

Content updates look accurate and consistent with the v5/v6 split throughout the page. A few clarity and scannability nits on the new experimental Vitest paragraph (which is duplicated across both files) and the DD_TEST_SESSION_NAME default definition. Nothing blocking.

Reviewed 0c124a18d4a449751fe044aaf82c1a9aab6b27e2workflow run

Comment thread content/en/tests/setup/javascript.md Outdated
Comment thread content/en/tests/troubleshooting/_index.md Outdated
Comment thread content/en/tests/setup/javascript.md Outdated
Comment thread content/en/tests/setup/javascript.md Outdated
juan-fernandez and others added 2 commits July 3, 2026 13:28
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant