Skip to content

chore(openfeature): update node server provider to 2.0.1#9480

Draft
leoromanovsky wants to merge 1 commit into
masterfrom
leo.romanovsky/ffl-2697-openfeature-node-server-2.0.1
Draft

chore(openfeature): update node server provider to 2.0.1#9480
leoromanovsky wants to merge 1 commit into
masterfrom
leo.romanovsky/ffl-2697-openfeature-node-server-2.0.1

Conversation

@leoromanovsky

@leoromanovsky leoromanovsky commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Motivation

@datadog/openfeature-node-server@2.0.0 reports TARGETING_MATCH for ordinary unsharded static allocations. The canonical cross-SDK result is STATIC. The 2.0.1 evaluator also distinguishes shard selection as SPLIT, rule matches as TARGETING_MATCH, and date-gated fallback as DEFAULT.

Version 2.0.1 also adds @datadog/js-core from DataDog/browser-sdk to the Node dependency tree through both flagging-core and openfeature-node-server. That dependency is not acceptable for dd-trace-js.

Blocked on DataDog/openfeature-js-client#342 and a clean patch release without browser SDK dependencies.

Changes

  • Update @datadog/openfeature-node-server from 2.0.0 to 2.0.1.
  • Refresh the flagging-core dependency graph.
  • Register the generated @datadog/js-core license entry required by the current 2.0.1 graph.

Decisions

  • Keep this PR in draft.
  • Do not merge a provider version that installs @datadog/js-core.
  • Replace 2.0.1 with the first clean patch released from openfeature-js-client#342 and remove the license entry before merge.

@dd-octo-sts

dd-octo-sts Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 7.51 MB
Deduped: 8.17 MB
No deduping: 8.17 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.2 | 124.41 kB | 440.65 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-prod-us1-5

datadog-prod-us1-5 Bot commented Jul 22, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 98.44% (+8.48%)

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

@pr-commenter

pr-commenter Bot commented Jul 22, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-07-22 04:50:47

Comparing candidate commit c60c270 in PR branch leo.romanovsky/ffl-2697-openfeature-node-server-2.0.1 with baseline commit 293cf61 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2307 metrics, 51 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-24

  • unstable execution_time [-211.802ms; +203.149ms] or [-7.911%; +7.588%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-237.624ms; +231.379ms] or [-9.286%; +9.042%]

scenario:appsec-appsec-enabled-with-attacks-24

  • unstable execution_time [-152.405ms; +161.521ms] or [-4.915%; +5.209%]

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

  • unstable execution_time [-189612.921µs; +190929.021µs] or [-6.508%; +6.554%]

scenario:appsec-control-20

  • unstable execution_time [-118.939ms; +128.209ms] or [-7.201%; +7.762%]

scenario:appsec-control-24

  • unstable execution_time [-112505.686µs; +110741.086µs] or [-9.050%; +8.908%]

scenario:appsec-control-26

  • unstable execution_time [-127.018ms; +123.531ms] or [-10.238%; +9.957%]

scenario:appsec-iast-no-vulnerability-control-20

  • unstable execution_time [-17.363ms; +14.386ms] or [-6.724%; +5.571%]

scenario:appsec-iast-no-vulnerability-iast-enabled-always-active-20

  • unstable execution_time [-17.007ms; +10.224ms] or [-6.603%; +3.970%]

scenario:appsec-iast-no-vulnerability-iast-enabled-default-config-20

  • unstable execution_time [-16.823ms; +19.590ms] or [-6.274%; +7.306%]

scenario:appsec-iast-with-vulnerability-iast-enabled-default-config-20

  • unstable execution_time [-25.613ms; +35.074ms] or [-4.687%; +6.419%]

scenario:child_process-shell-string-24

  • unstable cpu_usage_percentage [-6.059%; +4.368%]
  • unstable execution_time [-17.345ms; +25.095ms] or [-5.340%; +7.726%]
  • unstable throughput [-226757.669op/s; +158482.580op/s] or [-6.271%; +4.383%]

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

  • unstable cpu_user_time [-2763.415ms; +2786.978ms] or [-31.141%; +31.407%]
  • unstable execution_time [-2761.881ms; +2828.685ms] or [-28.840%; +29.537%]
  • unstable instructions [-23751.1M instructions; +23859.2M instructions] or [-32.654%; +32.803%]
  • unstable max_rss_usage [-11116.038KB; +11608.038KB] or [-6.972%; +7.281%]
  • unstable throughput [-762.668op/s; +723.746op/s] or [-21.711%; +20.603%]

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

  • unstable cpu_user_time [-2.695s; +5.729s] or [-25.997%; +55.261%]
  • unstable execution_time [-2.672s; +5.732s] or [-24.096%; +51.692%]
  • unstable instructions [-24.1G instructions; +51.0G instructions] or [-27.677%; +58.600%]
  • unstable max_rss_usage [-8.052MB; +17.896MB] or [-4.963%; +11.031%]
  • unstable throughput [-1117.321op/s; +522.026op/s] or [-36.515%; +17.060%]

scenario:debugger-line-probe-without-snapshot-24

  • unstable cpu_user_time [-1737.677ms; +570.417ms] or [-21.061%; +6.914%]
  • unstable execution_time [-1769.116ms; +552.267ms] or [-19.717%; +6.155%]
  • unstable instructions [-15.0G instructions; +4.8G instructions] or [-22.164%; +7.116%]
  • unstable throughput [-146.402op/s; +478.440op/s] or [-3.988%; +13.034%]

scenario:debugger-line-probe-without-snapshot-26

  • unstable cpu_user_time [-3.567s; +0.484s] or [-34.538%; +4.688%]
  • unstable execution_time [-3.571s; +0.484s] or [-32.252%; +4.368%]
  • unstable instructions [-31.7G instructions; +4.2G instructions] or [-36.545%; +4.868%]
  • unstable throughput [-99.631op/s; +702.939op/s] or [-3.249%; +22.923%]

scenario:dogstatsd-aggregated-26

  • unstable cpu_user_time [-64.548ms; +103.456ms] or [-6.460%; +10.353%]
  • unstable execution_time [-88.787ms; +91.431ms] or [-8.631%; +8.888%]
  • unstable throughput [-957041.589op/s; +954208.478op/s] or [-6.451%; +6.432%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-329.932ms; +334.801ms] or [-6.983%; +7.086%]
  • unstable execution_time [-321.299ms; +335.736ms] or [-6.697%; +6.998%]
  • unstable throughput [-119932.474op/s; +113587.483op/s] or [-6.856%; +6.494%]

scenario:plugin-aws-sdk-lambda-inject-with-context-24

  • unstable cpu_user_time [-191.653ms; +241.756ms] or [-5.026%; +6.339%]
  • unstable execution_time [-191.326ms; +241.559ms] or [-4.985%; +6.294%]
  • unstable throughput [-29295.678op/s; +23820.201op/s] or [-5.589%; +4.544%]

scenario:plugin-claude-agent-sdk-compact-stream-scan-24

  • unstable cpu_usage_percentage [-5.923%; +4.389%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-20

  • unstable max_rss_usage [-31.040MB; +35.964MB] or [-7.816%; +9.056%]

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

  • unstable cpu_user_time [-609.395ms; +555.374ms] or [-5.266%; +4.799%]
  • unstable execution_time [-621.839ms; +567.056ms] or [-5.266%; +4.802%]
  • unstable throughput [-3.304op/s; +3.624op/s] or [-4.850%; +5.318%]

scenario:plugin-memcached-hashring-24

  • unstable cpu_user_time [-1345.571ms; +497.204ms] or [-44.672%; +16.507%]
  • unstable execution_time [-1348.203ms; +504.993ms] or [-44.556%; +16.689%]
  • unstable instructions [-9.9G instructions; +3.2G instructions] or [-26.658%; +8.666%]
  • unstable throughput [-898505.239op/s; +1394545.472op/s] or [-6.224%; +9.660%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5213.128KB; +6917.795KB] or [-6.368%; +8.450%]

@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.44%. Comparing base (293cf61) to head (c60c270).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9480      +/-   ##
==========================================
+ Coverage   89.96%   98.44%   +8.47%     
==========================================
  Files         912      943      +31     
  Lines      124415   127257    +2842     
  Branches     8829    11001    +2172     
==========================================
+ Hits       111930   125275   +13345     
+ Misses      12485     1982   -10503     
Flag Coverage Δ
aiguard 57.84% <ø> (+0.02%) ⬆️
aiguard-integration 56.23% <ø> (ø)
apm-bucket-0 57.69% <ø> (-3.47%) ⬇️
apm-bucket-1 64.00% <ø> (+1.38%) ⬆️
apm-bucket-2 62.75% <ø> (?)
apm-bucket-3 60.12% <ø> (?)
apm-capabilities-tracing 64.49% <ø> (ø)
apm-integrations-aerospike 56.70% <ø> (-0.03%) ⬇️
apm-integrations-confluentinc-kafka-javascript 61.60% <ø> (-0.06%) ⬇️
apm-integrations-couchbase 57.14% <ø> (-0.03%) ⬇️
apm-integrations-http 62.78% <ø> (-0.03%) ⬇️
apm-integrations-kafkajs 62.19% <ø> (-0.03%) ⬇️
apm-integrations-next 59.24% <ø> (-0.03%) ⬇️
apm-integrations-prisma 58.72% <ø> (-0.03%) ⬇️
apm-integrations-sharedb_integrations-tedious ?
appsec 72.95% <ø> (+0.04%) ⬆️
appsec-express_fastify_graphql 70.42% <ø> (?)
appsec-integration 51.38% <ø> (?)
appsec-kafka_ldapjs_lodash 63.99% <ø> (?)
appsec-mongodb-core_mongoose_mysql 67.72% <ø> (?)
appsec-next 57.55% <ø> (-0.02%) ⬇️
appsec-node-serialize ?
appsec-node-serialize_passport_postgres 67.39% <ø> (?)
appsec-passport ?
appsec-sourcing_stripe_template 65.73% <ø> (?)
debugger 64.92% <ø> (?)
instrumentations-bucket-0 51.67% <ø> (-0.51%) ⬇️
instrumentations-bucket-1 60.25% <ø> (-0.92%) ⬇️
instrumentations-bucket-10 61.82% <ø> (?)
instrumentations-bucket-11 56.73% <ø> (?)
instrumentations-bucket-12 52.03% <ø> (?)
instrumentations-bucket-13 52.05% <ø> (?)
instrumentations-bucket-2 53.36% <ø> (?)
instrumentations-bucket-3 53.65% <ø> (?)
instrumentations-bucket-4 59.24% <ø> (?)
instrumentations-bucket-5 50.06% <ø> (?)
instrumentations-bucket-6 60.96% <ø> (?)
instrumentations-bucket-7 58.39% <ø> (?)
instrumentations-bucket-8 59.48% <ø> (?)
instrumentations-bucket-9 52.04% <ø> (?)
instrumentations-instrumentation-couchbase 51.10% <ø> (-0.03%) ⬇️
instrumentations-instrumentation-router ?
instrumentations-instrumentation-zlib 51.70% <ø> (?)
instrumentations-integration-esbuild 34.11% <ø> (ø)
llmobs-ai_anthropic_bedrock 62.59% <ø> (?)
llmobs-bucket-1 61.56% <ø> (?)
llmobs-openai 62.72% <ø> (+0.02%) ⬆️
llmobs-sdk 66.22% <ø> (-0.03%) ⬇️
llmobs-vertex-ai 59.21% <ø> (?)
master-coverage 98.44% <ø> (?)
openfeature 56.20% <ø> (+0.19%) ⬆️
openfeature-unit 53.47% <ø> (-0.03%) ⬇️
platform-core_esbuild_instrumentations-misc 40.41% <ø> (?)
platform-integration 61.50% <ø> (ø)
platform-shimmer_unit-guardrails_webpack 39.11% <ø> (?)
platform-unit-guardrails ?
plugins-axios_body-parser_bullmq ?
plugins-bucket-0 57.10% <ø> (?)
plugins-bucket-1 54.43% <ø> (?)
plugins-bucket-11 62.34% <ø> (?)
plugins-bucket-14 ?
plugins-bucket-15 ?
plugins-bucket-16 ?
plugins-bucket-17 ?
plugins-bucket-18 62.03% <ø> (?)
plugins-bucket-19 60.12% <ø> (?)
plugins-bucket-2 ?
plugins-bucket-20 62.13% <ø> (?)
plugins-bucket-4 58.62% <ø> (?)
plugins-bullmq_cassandra_cookie 61.82% <ø> (?)
plugins-cassandra_cookie_cookie-parser ?
plugins-cookie-parser_crypto_dd-trace-api 56.80% <ø> (?)
plugins-fastify_fetch_fs ?
plugins-fetch_fs_generic-pool 58.84% <ø> (?)
plugins-generic-pool_grpc_handlebars ?
plugins-google-cloud-pubsub_grpc_handlebars 64.76% <ø> (?)
plugins-hapi_hono_ioredis 60.29% <ø> (-0.03%) ⬇️
plugins-jest_knex_langgraph 55.67% <ø> (?)
plugins-jest_knex_ldapjs ?
plugins-ldapjs_light-my-request_limitd-client 58.57% <ø> (?)
plugins-light-my-request_limitd-client_lodash ?
plugins-lodash_mariadb_memcached 58.07% <ø> (?)
plugins-mariadb_memcached_mercurius ?
plugins-microgateway-core_moleculer_mongodb ?
plugins-moleculer_mongodb_mongodb-core 61.98% <ø> (?)
plugins-mongodb-core_mongoose_multer ?
plugins-mongoose_multer_mysql 59.08% <ø> (?)
plugins-mysql2_nats_node-serialize 60.78% <ø> (?)
plugins-mysql_mysql2_nats ?
plugins-opensearch_passport-http_pino 59.61% <ø> (?)
plugins-passport-http_pino_postgres ?
plugins-postgres_process_pug 58.34% <ø> (?)
plugins-process_pug_redis ?
plugins-redis_router_sequelize 62.11% <ø> (?)
plugins-test-and-upstream-rhea_undici_url 61.69% <ø> (?)
plugins-url_valkey_vm ?
plugins-valkey_vm_winston 58.07% <ø> (?)
plugins-winston_ws ?
plugins-ws 59.66% <ø> (?)
profiling 62.22% <ø> (?)
serverless-aws-sdk-aws-sdk 55.13% <ø> (-0.02%) ⬇️
serverless-aws-sdk-bedrockruntime 54.82% <ø> (-0.03%) ⬇️
serverless-aws-sdk-client 56.49% <ø> (-0.03%) ⬇️
serverless-aws-sdk-dynamodb 55.73% <ø> (-0.03%) ⬇️
serverless-aws-sdk-eventbridge 49.44% <ø> (-0.03%) ⬇️
serverless-aws-sdk-kinesis 59.41% <ø> (-0.03%) ⬇️
serverless-aws-sdk-lambda 57.46% <ø> (-0.03%) ⬇️
serverless-aws-sdk-s3 55.67% <ø> (-0.03%) ⬇️
serverless-aws-sdk-serverless-peer-service 59.82% <ø> (-0.03%) ⬇️
serverless-aws-sdk-sns 60.21% <ø> (-0.03%) ⬇️
serverless-aws-sdk-sqs 60.63% <ø> (-0.03%) ⬇️
serverless-aws-sdk-stepfunctions 55.65% <ø> (-0.03%) ⬇️
serverless-aws-sdk-util 51.55% <ø> (-0.03%) ⬇️
serverless-bucket-0 54.33% <ø> (+<0.01%) ⬆️
serverless-bucket-1 59.32% <ø> (+5.77%) ⬆️
test-optimization-cucumber 71.85% <ø> (-0.05%) ⬇️
test-optimization-cypress 65.81% <ø> (+0.07%) ⬆️
test-optimization-jest 73.23% <ø> (-0.06%) ⬇️
test-optimization-mocha 73.49% <ø> (+7.51%) ⬆️
test-optimization-playwright-playwright-atr 60.39% <ø> (+0.53%) ⬆️
test-optimization-playwright-playwright-efd 60.58% <ø> (+0.16%) ⬆️
test-optimization-playwright-playwright-final-status 60.55% <ø> (+0.22%) ⬆️
test-optimization-playwright-playwright-impacted-tests 60.28% <ø> (-0.02%) ⬇️
test-optimization-playwright-playwright-reporting 61.56% <ø> (-0.13%) ⬇️
test-optimization-playwright-playwright-test-management 61.09% <ø> (-0.13%) ⬇️
test-optimization-playwright-playwright-test-span 60.49% <ø> (?)
test-optimization-selenium 60.03% <ø> (?)
test-optimization-testopt 58.47% <ø> (-1.89%) ⬇️
test-optimization-vitest 70.28% <ø> (+3.84%) ⬆️

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.

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.

1 participant