Skip to content

feat(test-optimization): add vitest no-worker init mode#9173

Merged
juan-fernandez merged 22 commits into
masterfrom
juan-fernandez/vitest-skip-worker-init
Jul 2, 2026
Merged

feat(test-optimization): add vitest no-worker init mode#9173
juan-fernandez merged 22 commits into
masterfrom
juan-fernandez/vitest-skip-worker-init

Conversation

@juan-fernandez

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

Copy link
Copy Markdown
Collaborator

What does this PR do?

Adds the opt-in Vitest no-worker-init mode behind DD_EXPERIMENTAL_TEST_OPT_VITEST_NO_WORKER_INIT.

When enabled for supported isolated Vitest worker-pool runs, the main Vitest instrumentation delegates the experimental path to vitest-main-no-worker-init. That path injects ci/vitest-no-worker-init-setup.mjs, marks Vitest workers with DD_TEST_OPT_VITEST_NO_WORKER_INIT_ACTIVE, strips Datadog Test Optimization bootstraps from worker NODE_OPTIONS, and reports Vitest suite/test events from the main-process reporter path.

ci/init and the Vitest instrumentation entrypoint skip loading dd-trace inside marked Vitest workers. The injected setup file preserves the worker-side Test Optimization behavior that still needs to happen without initializing the tracer there, including Test Management skips/quarantine/attempt-to-fix metadata, Auto Test Retries metadata, user-configured Vitest retry metadata, Early Flake Detection retry metadata, impacted-test metadata, and ordinary passing-test durations.

Because dd-trace is not initialized inside Vitest workers in this mode, features that require an active test span inside test code are not supported. This includes custom test tags, custom spans attached to the active test span, log correlation from test code, and Failed Test Replay. Failed Test Replay capability metadata and session telemetry are disabled while no-worker-init mode is active.

The mode supports both forks and threads for Vitest >=3.2.6. It falls back to normal Vitest worker instrumentation when the flag is used with older Vitest versions, disabled isolation, non-worker pools, or mixed worker/non-worker selected specs.

Motivation

Reduce Vitest worker startup overhead for Test Optimization by avoiding full tracer initialization in workers while preserving reporting and test-modifying behavior for supported isolated worker-pool runs.

Additional Notes

Benchmark scenario: 200 Vitest files, 3 tests per file, test durations from 10ms to 100ms, Vitest 4.1.9.

Pool Scenario Median Overhead vs baseline
threads no dd-trace 3501ms -
threads dd-trace normal 6802ms +3301ms (+94.3%)
threads dd-trace no-worker-init 3871ms +370ms (+10.6%)
forks no dd-trace 3720ms -
forks dd-trace normal 7981ms +4261ms (+114.5%)
forks dd-trace no-worker-init 4184ms +464ms (+12.5%)

Reporting parity passed in both benchmark runs: normal and no-worker-init both reported 600 tests, 200 suites, 1 module, and 1 session, with matching test names and suite names.

Validation:

  • ./node_modules/.bin/mocha --timeout 60000 integration-tests/vitest/vitest.no-worker-init.spec.js
  • npm run lint
  • git diff --check

@dd-octo-sts

dd-octo-sts Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.51 MB
Deduped: 7.57 MB
No deduping: 7.57 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-official

datadog-official Bot commented Jul 1, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 70.61%
Overall Coverage: 87.85% (-0.16%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: d99a8c2 | Docs | Datadog PR Page | Give us feedback!

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.75487% with 131 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.63%. Comparing base (a4a3beb) to head (d99a8c2).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...instrumentations/src/vitest-main-no-worker-init.js 80.43% 125 Missing ⚠️
...ckages/datadog-instrumentations/src/vitest-main.js 90.16% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9173      +/-   ##
==========================================
- Coverage   93.73%   93.63%   -0.11%     
==========================================
  Files         895      896       +1     
  Lines       51398    52223     +825     
  Branches    11980    12265     +285     
==========================================
+ Hits        48178    48899     +721     
- Misses       3220     3324     +104     
Flag Coverage Δ
aiguard 34.87% <11.11%> (-0.08%) ⬇️
aiguard-integration 41.79% <11.11%> (-0.01%) ⬇️
apm-bucket-0 34.83% <11.11%> (-0.08%) ⬇️
apm-bucket-1 40.33% <11.11%> (-0.08%) ⬇️
apm-bucket-2 37.33% <11.11%> (-0.08%) ⬇️
apm-capabilities-tracing 48.68% <15.38%> (-0.01%) ⬇️
apm-integrations-aerospike 33.12% <11.11%> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript 40.02% <11.11%> (-0.08%) ⬇️
apm-integrations-couchbase 33.40% <11.11%> (+0.08%) ⬆️
apm-integrations-http 41.95% <11.11%> (-0.07%) ⬇️
apm-integrations-kafkajs 40.26% <11.11%> (-0.08%) ⬇️
apm-integrations-next 29.50% <11.11%> (-0.08%) ⬇️
apm-integrations-prisma 35.03% <11.11%> (-0.08%) ⬇️
apm-integrations-tedious 33.89% <11.11%> (-0.08%) ⬇️
appsec 57.68% <11.11%> (-0.08%) ⬇️
appsec-express_fastify_graphql 53.66% <11.11%> (-0.07%) ⬇️
appsec-integration 35.60% <3.50%> (-0.85%) ⬇️
appsec-kafka_ldapjs_lodash 43.58% <11.11%> (-0.07%) ⬇️
appsec-mongodb-core_mongoose_mysql 48.74% <11.11%> (-0.06%) ⬇️
appsec-next 28.00% <11.11%> (-0.07%) ⬇️
appsec-node-serialize_passport_postgres 47.91% <11.11%> (-0.07%) ⬇️
appsec-sourcing_stripe_template 45.47% <11.11%> (-0.07%) ⬇️
debugger 44.44% <11.11%> (+0.07%) ⬆️
instrumentations-bucket-0 28.15% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-1 37.40% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-10 40.35% <11.11%> (-0.07%) ⬇️
instrumentations-bucket-11 27.95% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-12 28.66% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-13 27.78% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-2 30.23% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-3 35.90% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-4 28.56% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-5 36.27% <11.11%> (-0.07%) ⬇️
instrumentations-bucket-6 38.25% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-7 36.00% <11.11%> (-0.07%) ⬇️
instrumentations-bucket-8 36.95% <11.11%> (-0.08%) ⬇️
instrumentations-bucket-9 39.45% <11.11%> (-0.07%) ⬇️
instrumentations-instrumentation-couchbase 46.48% <ø> (ø)
instrumentations-integration-esbuild 24.45% <3.50%> (-0.60%) ⬇️
llmobs-ai_anthropic_bedrock 39.53% <11.11%> (-0.07%) ⬇️
llmobs-google-genai_langchain_vertex-ai 36.97% <11.11%> (-0.06%) ⬇️
llmobs-openai 39.57% <11.11%> (-0.07%) ⬇️
llmobs-sdk 43.59% <11.11%> (-0.08%) ⬇️
master-coverage 93.63% <81.75%> (?)
openfeature 37.76% <11.11%> (-0.01%) ⬇️
openfeature-unit 50.39% <ø> (ø)
platform-core_esbuild_instrumentations-misc 22.91% <3.50%> (-0.60%) ⬇️
platform-integration 47.43% <11.11%> (+<0.01%) ⬆️
platform-shimmer_unit-guardrails_webpack 18.45% <3.52%> (-0.58%) ⬇️
plugins-bucket-0 36.37% <11.11%> (-0.07%) ⬇️
plugins-bucket-1 39.59% <11.11%> (-0.01%) ⬇️
plugins-bucket-11 38.45% <11.11%> (-0.08%) ⬇️
plugins-bucket-17 39.14% <11.11%> (-0.08%) ⬇️
plugins-bucket-18 42.00% <11.11%> (-0.07%) ⬇️
plugins-bucket-19 39.56% <11.11%> (-0.08%) ⬇️
plugins-bucket-20 43.25% <11.11%> (-0.08%) ⬇️
plugins-bucket-4 37.71% <11.11%> (-0.08%) ⬇️
plugins-bullmq_cassandra_cookie 39.76% <11.11%> (-0.08%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 33.21% <11.11%> (-0.08%) ⬇️
plugins-fetch_fs_generic-pool 36.05% <11.11%> (+0.07%) ⬆️
plugins-google-cloud-pubsub_grpc_handlebars 43.09% <11.11%> (-0.08%) ⬇️
plugins-hapi_hono_ioredis 37.78% <11.11%> (-0.08%) ⬇️
plugins-jest_knex_langgraph 32.60% <11.11%> (-0.08%) ⬇️
plugins-ldapjs_light-my-request_limitd-client 27.85% <11.11%> (-0.14%) ⬇️
plugins-lodash_mariadb_memcached 35.17% <11.11%> (-0.08%) ⬇️
plugins-mongodb_mongodb-core_mongoose 36.30% <11.11%> (-0.10%) ⬇️
plugins-multer_mysql_mysql2 35.14% <11.11%> (-0.08%) ⬇️
plugins-nats_node-serialize_opensearch 37.14% <11.11%> (-0.08%) ⬇️
plugins-passport-http_pino_postgres 35.52% <11.11%> (-0.08%) ⬇️
plugins-process_pug_redis 34.26% <11.11%> (-0.07%) ⬇️
plugins-undici_url_valkey 35.88% <11.11%> (-0.08%) ⬇️
plugins-vm_winston_ws 37.55% <11.11%> (-0.08%) ⬇️
profiling 43.62% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-aws-sdk 33.29% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-bedrockruntime 32.16% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-client 37.16% <ø> (ø)
serverless-aws-sdk-dynamodb 34.14% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-eventbridge 27.25% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-kinesis 37.40% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-lambda 34.59% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-s3 32.59% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-serverless-peer-service 39.47% <11.11%> (-0.08%) ⬇️
serverless-aws-sdk-sns 38.25% <11.11%> (-0.19%) ⬇️
serverless-aws-sdk-sqs 37.99% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-stepfunctions 33.18% <11.11%> (-0.07%) ⬇️
serverless-aws-sdk-util 47.95% <ø> (ø)
serverless-bucket-0 39.45% <11.11%> (-0.01%) ⬇️
serverless-lambda 34.33% <11.11%> (-0.10%) ⬇️
test-optimization-cucumber 52.31% <100.00%> (+0.12%) ⬆️
test-optimization-cypress 49.52% <55.55%> (+0.06%) ⬆️
test-optimization-jest 55.29% <100.00%> (+0.08%) ⬆️
test-optimization-mocha 53.39% <100.00%> (+0.09%) ⬆️
test-optimization-playwright-playwright-atr 43.34% <100.00%> (+0.09%) ⬆️
test-optimization-playwright-playwright-efd 43.60% <100.00%> (+0.07%) ⬆️
test-optimization-playwright-playwright-final-status 43.74% <100.00%> (+0.12%) ⬆️
test-optimization-playwright-playwright-impacted-tests 43.17% <100.00%> (+0.01%) ⬆️
test-optimization-playwright-playwright-reporting 43.29% <88.88%> (+0.11%) ⬆️
test-optimization-playwright-playwright-test-management 44.73% <88.88%> (+0.10%) ⬆️
test-optimization-playwright-playwright-test-span 44.53% <100.00%> (+0.10%) ⬆️
test-optimization-selenium 45.28% <88.88%> (+0.08%) ⬆️
test-optimization-testopt 46.67% <8.21%> (-1.25%) ⬇️
test-optimization-vitest 52.50% <81.47%> (+1.59%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter

pr-commenter Bot commented Jul 1, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-02 12:05:34

Comparing candidate commit d99a8c2 in PR branch juan-fernandez/vitest-skip-worker-init with baseline commit a4a3beb in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2263 metrics, 23 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:appsec-appsec-enabled-20

  • unstable execution_time [-200.470ms; +183.298ms] or [-5.379%; +4.918%]

scenario:appsec-appsec-enabled-24

  • unstable execution_time [-177.956ms; +182.393ms] or [-6.747%; +6.915%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-211.553ms; +205.460ms] or [-8.428%; +8.185%]

scenario:appsec-appsec-enabled-with-attacks-26

  • unstable execution_time [-153.869ms; +158.986ms] or [-5.257%; +5.432%]

scenario:appsec-control-20

  • unstable execution_time [-157.748ms; +168.191ms] or [-9.029%; +9.626%]

scenario:appsec-control-24

  • unstable execution_time [-104155.804µs; +104345.838µs] or [-8.578%; +8.593%]

scenario:appsec-control-26

  • unstable execution_time [-112.183ms; +114.908ms] or [-9.273%; +9.498%]

scenario:debugger-line-probe-with-snapshot-default-26

  • unstable cpu_user_time [-2.833s; +0.497s] or [-28.601%; +5.014%]
  • unstable execution_time [-2.859s; +0.517s] or [-26.966%; +4.879%]
  • unstable instructions [-25.3G instructions; +4.4G instructions] or [-30.688%; +5.318%]
  • unstable throughput [-137.977op/s; +612.492op/s] or [-4.357%; +19.341%]

scenario:debugger-line-probe-with-snapshot-minimal-26

  • unstable cpu_user_time [-2803.469ms; +2941.987ms] or [-28.246%; +29.641%]
  • unstable execution_time [-2846.667ms; +2968.539ms] or [-26.852%; +28.001%]
  • unstable instructions [-25083.6M instructions; +26477.6M instructions] or [-30.200%; +31.879%]
  • unstable max_rss_usage [-9871.881KB; +8805.481KB] or [-6.125%; +5.463%]
  • unstable throughput [-662.540op/s; +613.598op/s] or [-20.991%; +19.441%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-435.855ms; +267.568ms] or [-8.783%; +5.392%]
  • unstable execution_time [-430.024ms; +271.100ms] or [-8.534%; +5.380%]
  • unstable throughput [-91322.760op/s; +148279.842op/s] or [-5.485%; +8.905%]

scenario:plugin-graphql-long-with-depth-on-max-20

  • unstable cpu_user_time [-510.849ms; +562.809ms] or [-4.967%; +5.473%]
  • unstable execution_time [-514.962ms; +572.710ms] or [-4.877%; +5.424%]
  • unstable throughput [-4.079op/s; +3.749op/s] or [-5.354%; +4.921%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5162.239KB; +5398.239KB] or [-6.361%; +6.651%]

@juan-fernandez
juan-fernandez force-pushed the juan-fernandez/vitest-skip-worker-init branch 4 times, most recently from 1308459 to 892fd05 Compare July 1, 2026 13:52
Base automatically changed from juan-fernandez/vitest-move-more-to-main to master July 1, 2026 14:25
@juan-fernandez
juan-fernandez force-pushed the juan-fernandez/vitest-skip-worker-init branch from 892fd05 to d0c7393 Compare July 1, 2026 14:47
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d0c73936f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/datadog-instrumentations/src/vitest-main-no-worker-init.js Outdated
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 736ba3ddea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/datadog-instrumentations/src/vitest-main-no-worker-init.js Outdated
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00b81c7fda

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/datadog-instrumentations/src/vitest-main.js
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b2d3fa88ac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ci/vitest-no-worker-init-setup.mjs
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

1 similar comment
@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: d8398c8ec0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@juan-fernandez
juan-fernandez marked this pull request as ready for review July 2, 2026 09:34
@juan-fernandez
juan-fernandez requested review from a team as code owners July 2, 2026 09:34
@juan-fernandez
juan-fernandez requested review from bojbrook and removed request for a team July 2, 2026 09:34

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8398c8ec0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/datadog-instrumentations/src/vitest-main-no-worker-init.js
Comment thread packages/datadog-instrumentations/src/vitest-main-no-worker-init.js Outdated

@datadog-official datadog-official Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

More details

Node_OPTIONS stripping, configureWorkerEnv, shouldUse version/isolate fallbacks, and getLibraryCapabilitiesTags FTR-omission logic all behave correctly across 30+ adversarial scenarios including quoted paths with spaces, Windows-style paths, multiple consecutive DD flags, absolute paths, and the -r/--require/--import=value forms. The operator-precedence on the new !omitFailedTestReplay && isFtrSupported ? '1' : undefined expression is correct (&& binds tighter than ?:). No defects found.

Was this helpful? React 👍 or 👎

📊 Validated against 34 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit d8398c8 · What is Autotest? · Any feedback? Reach out in #autotest

@juan-fernandez

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: ee56e9c022

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

anmarchenko
anmarchenko previously approved these changes Jul 2, 2026
@juan-fernandez
juan-fernandez requested a review from a team as a code owner July 2, 2026 11:46
@juan-fernandez
juan-fernandez requested review from khanayan123 and removed request for a team July 2, 2026 11:46
@juan-fernandez
juan-fernandez merged commit ab157c2 into master Jul 2, 2026
764 of 766 checks passed
@juan-fernandez
juan-fernandez deleted the juan-fernandez/vitest-skip-worker-init branch July 2, 2026 13:19
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 2, 2026
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jul 2, 2026
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