Skip to content

chore(eslint): fix callback literal violations - #9694

Merged
pabloerhard merged 2 commits into
masterfrom
BridgeAR/2026-08-05-eslint-callback-literals
Aug 10, 2026
Merged

chore(eslint): fix callback literal violations#9694
pabloerhard merged 2 commits into
masterfrom
BridgeAR/2026-08-05-eslint-callback-literals

Conversation

@BridgeAR

@BridgeAR BridgeAR commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

Use semantic names for response, hook, and batch-observer callbacks now rejected by n/no-callback-literal. Keep a scoped suppression for the gRPC test that deliberately passes a plain object through an error-first callback.

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 7.98 MB
Deduped: 8.64 MB
No deduping: 8.64 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 441.68 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-3

datadog-prod-us1-3 Bot commented Aug 5, 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.56% (+0.00%)

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

@pr-commenter

pr-commenter Bot commented Aug 5, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-07 21:27:12

Comparing candidate commit 34b7f0c in PR branch BridgeAR/2026-08-05-eslint-callback-literals with baseline commit d820eae in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2319 metrics, 39 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 [-204.177ms; +201.089ms] or [-7.582%; +7.467%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-226.133ms; +167.054ms] or [-8.804%; +6.504%]

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

  • unstable execution_time [-162731.840µs; +161307.274µs] or [-5.220%; +5.174%]

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

  • unstable execution_time [-189.214ms; +186.310ms] or [-6.437%; +6.338%]

scenario:appsec-control-20

  • unstable execution_time [-132.972ms; +119.698ms] or [-7.986%; +7.189%]

scenario:appsec-control-24

  • unstable execution_time [-116624.206µs; +118216.439µs] or [-9.307%; +9.434%]

scenario:appsec-control-26

  • unstable execution_time [-124.720ms; +131.402ms] or [-9.957%; +10.491%]

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

  • unstable execution_time [-11.413ms; +14.628ms] or [-4.422%; +5.668%]

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

  • unstable execution_time [-16907.130µs; +15779.797µs] or [-6.462%; +6.031%]

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

  • unstable execution_time [-17571.528µs; +17023.726µs] or [-6.870%; +6.655%]

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

  • unstable cpu_user_time [-4683.782ms; +3119.320ms] or [-42.194%; +28.101%]
  • unstable execution_time [-4814.771ms; +3198.193ms] or [-40.686%; +27.025%]
  • unstable instructions [-41.3G instructions; +27.4G instructions] or [-44.190%; +29.357%]
  • unstable max_rss_usage [-16.094MB; +10.052MB] or [-9.819%; +6.133%]
  • unstable throughput [-613.064op/s; +946.269op/s] or [-20.899%; +32.258%]

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

  • unstable cpu_user_time [-2670.877ms; +4209.187ms] or [-27.994%; +44.117%]
  • unstable execution_time [-2658.455ms; +4180.817ms] or [-25.902%; +40.734%]
  • unstable instructions [-23.6G instructions; +37.4G instructions] or [-29.671%; +46.991%]
  • unstable max_rss_usage [-9.283MB; +14.551MB] or [-5.887%; +9.228%]
  • unstable throughput [-818.425op/s; +525.360op/s] or [-25.328%; +16.258%]

scenario:dogstatsd-aggregated-26

  • unstable cpu_user_time [-68.183ms; +111.962ms] or [-6.808%; +11.179%]
  • unstable execution_time [-65.657ms; +115.253ms] or [-6.474%; +11.365%]
  • unstable throughput [-1206843.661op/s; +655364.088op/s] or [-8.044%; +4.368%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-271.041ms; +319.864ms] or [-5.441%; +6.421%]
  • unstable execution_time [-273.013ms; +319.973ms] or [-5.405%; +6.334%]
  • unstable throughput [-113388.331op/s; +97466.138op/s] or [-6.838%; +5.878%]

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

  • unstable cpu_usage_percentage [-5.611%; +6.469%]
  • unstable execution_time [-2695.977µs; +3985.311µs] or [-4.139%; +6.118%]
  • unstable throughput [-33097.075op/s; +24782.146op/s] or [-6.210%; +4.650%]

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

  • unstable max_rss_usage [-28330.152KB; +29258.552KB] or [-7.147%; +7.381%]

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

  • unstable max_rss_usage [-5687.466KB; +7356.037KB] or [-4.440%; +5.743%]

scenario:plugin-graphql-long-with-depth-off-26

  • unstable max_rss_usage [-35.713MB; +14.939MB] or [-19.817%; +8.290%]

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

  • unstable cpu_user_time [-588.547ms; +595.802ms] or [-5.093%; +5.155%]
  • unstable execution_time [-599.538ms; +608.189ms] or [-5.085%; +5.159%]
  • unstable throughput [-3.538op/s; +3.503op/s] or [-5.185%; +5.132%]

scenario:plugin-pg-service-26

  • unstable cpu_usage_percentage [-7.162%; +3.883%]
  • unstable execution_time [-46.525ms; +83.930ms] or [-5.222%; +9.420%]
  • unstable throughput [-521561.478op/s; +283189.200op/s] or [-7.642%; +4.149%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-2.852MB; +10.983MB] or [-3.505%; +13.497%]

@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-05-eslint-callback-literals branch from 9f47f28 to e01d261 Compare August 5, 2026 09:20
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.55%. Comparing base (d820eae) to head (34b7f0c).

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #9694    +/-   ##
========================================
  Coverage   98.55%   98.55%            
========================================
  Files         966      966            
  Lines      139382   139382            
  Branches    12051    12202   +151     
========================================
+ Hits       137369   137370     +1     
+ Misses       2013     2012     -1     
Flag Coverage Δ
aiguard 56.94% <ø> (-0.03%) ⬇️
aiguard-integration 55.87% <ø> (ø)
apm-bucket-0 57.18% <ø> (-0.03%) ⬇️
apm-bucket-1 63.32% <ø> (-0.02%) ⬇️
apm-bucket-2 62.17% <ø> (-0.03%) ⬇️
apm-bucket-3 59.76% <ø> (-0.03%) ⬇️
apm-capabilities-tracing 62.31% <ø> (ø)
apm-integrations-aerospike 56.23% <ø> (-0.03%) ⬇️
apm-integrations-confluentinc-kafka-javascript 61.15% <ø> (-0.03%) ⬇️
apm-integrations-couchbase 56.67% <ø> (-0.03%) ⬇️
apm-integrations-http 61.86% <ø> (-0.02%) ⬇️
apm-integrations-kafkajs 61.67% <ø> (-0.03%) ⬇️
apm-integrations-next 59.36% <ø> (-0.03%) ⬇️
apm-integrations-prisma 58.48% <ø> (-0.02%) ⬇️
appsec 72.10% <ø> (-0.02%) ⬇️
appsec-express_fastify_graphql 69.41% <ø> (-0.02%) ⬇️
appsec-integration 50.17% <ø> (ø)
appsec-kafka_ldapjs_lodash 63.38% <ø> (-0.02%) ⬇️
appsec-mongodb-core_mongoose_mysql 66.85% <ø> (-0.02%) ⬇️
appsec-next 56.63% <ø> (-0.02%) ⬇️
appsec-node-serialize_passport_postgres 66.26% <ø> (-0.02%) ⬇️
appsec-sourcing_stripe_template 64.69% <ø> (-0.02%) ⬇️
debugger 64.20% <ø> (-0.04%) ⬇️
instrumentations-bucket-0 51.66% <ø> (-0.03%) ⬇️
instrumentations-bucket-1 59.36% <ø> (-0.03%) ⬇️
instrumentations-bucket-10 60.84% <ø> (-0.02%) ⬇️
instrumentations-bucket-11 61.57% <ø> (-0.02%) ⬇️
instrumentations-bucket-12 51.67% <ø> (-0.03%) ⬇️
instrumentations-bucket-13 52.41% <ø> (-0.03%) ⬇️
instrumentations-bucket-14 51.62% <ø> (-0.03%) ⬇️
instrumentations-bucket-2 53.11% <ø> (-0.03%) ⬇️
instrumentations-bucket-3 53.46% <ø> (-0.03%) ⬇️
instrumentations-bucket-4 58.72% <ø> (-0.03%) ⬇️
instrumentations-bucket-5 50.28% <ø> (-0.02%) ⬇️
instrumentations-bucket-6 60.46% <ø> (-0.03%) ⬇️
instrumentations-bucket-7 58.06% <ø> (-0.03%) ⬇️
instrumentations-bucket-8 59.05% <ø> (-0.02%) ⬇️
instrumentations-bucket-9 57.40% <ø> (-0.03%) ⬇️
instrumentations-instrumentation-couchbase 50.92% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild 34.23% <ø> (ø)
llmobs-ai_anthropic_bedrock 62.81% <ø> (-0.02%) ⬇️
llmobs-bucket-1 61.31% <ø> (-0.02%) ⬇️
llmobs-openai 61.71% <ø> (-0.02%) ⬇️
llmobs-openai-agents_vertex-ai 59.99% <ø> (-0.03%) ⬇️
llmobs-sdk 66.75% <ø> (-0.03%) ⬇️
master-coverage 98.55% <ø> (?)
openfeature 55.67% <ø> (ø)
openfeature-unit 53.19% <ø> (-0.03%) ⬇️
platform-core_esbuild_instrumentations-misc 41.23% <ø> (-0.02%) ⬇️
platform-integration 60.41% <ø> (ø)
platform-shimmer_unit-guardrails_webpack 38.89% <ø> (-0.02%) ⬇️
plugins-bucket-0 56.89% <ø> (-0.02%) ⬇️
plugins-bucket-1 54.01% <ø> (ø)
plugins-bucket-11 61.43% <ø> (-0.03%) ⬇️
plugins-bucket-17 61.26% <ø> (-0.03%) ⬇️
plugins-bucket-18 61.89% <ø> (-0.02%) ⬇️
plugins-bucket-19 61.27% <ø> (-0.03%) ⬇️
plugins-bucket-20 63.69% <ø> (-0.03%) ⬇️
plugins-bucket-4 58.27% <ø> (-0.03%) ⬇️
plugins-bullmq_cassandra_cookie 61.34% <ø> (-0.03%) ⬇️
plugins-cookie-parser_crypto_dd-trace-api 56.31% <ø> (-0.03%) ⬇️
plugins-fetch_fs_generic-pool 58.22% <ø> (-0.03%) ⬇️
plugins-google-cloud-pubsub_grpc_handlebars 64.12% <ø> (-0.02%) ⬇️
plugins-hapi_hono_ioredis 59.86% <ø> (-0.03%) ⬇️
plugins-knex_langgraph_ldapjs 55.03% <ø> (-0.03%) ⬇️
plugins-light-my-request_limitd-client_lodash 58.34% <ø> (-0.03%) ⬇️
plugins-mariadb_memcached_mercurius 61.26% <ø> (-0.02%) ⬇️
plugins-mongodb_mongodb-core_mongoose 59.22% <ø> (-0.03%) ⬇️
plugins-multer_mysql_mysql2 58.81% <ø> (-0.03%) ⬇️
plugins-nats_node-serialize_opensearch 60.36% <ø> (-0.03%) ⬇️
plugins-passport-http_pino_postgres 58.55% <ø> (-0.03%) ⬇️
plugins-process_pug_redis 57.35% <ø> (-0.03%) ⬇️
plugins-undici_url_valkey 57.99% <ø> (-0.03%) ⬇️
plugins-vm_winston_ws 59.56% <ø> (-0.03%) ⬇️
profiling 61.47% <ø> (-0.03%) ⬇️
serverless-aws-sdk-aws-sdk 55.09% <ø> (-0.02%) ⬇️
serverless-aws-sdk-base-inject-field 50.89% <ø> (-0.03%) ⬇️
serverless-aws-sdk-bedrockruntime 54.62% <ø> (-0.02%) ⬇️
serverless-aws-sdk-client 56.18% <ø> (-0.03%) ⬇️
serverless-aws-sdk-dynamodb 55.46% <ø> (-0.03%) ⬇️
serverless-aws-sdk-eventbridge 49.69% <ø> (-0.02%) ⬇️
serverless-aws-sdk-kinesis 59.04% <ø> (-0.02%) ⬇️
serverless-aws-sdk-lambda 57.20% <ø> (-0.02%) ⬇️
serverless-aws-sdk-s3 55.55% <ø> (-0.02%) ⬇️
serverless-aws-sdk-serverless-peer-service 59.30% <ø> (-0.02%) ⬇️
serverless-aws-sdk-sns 59.85% <ø> (-0.02%) ⬇️
serverless-aws-sdk-sqs 60.27% <ø> (-0.02%) ⬇️
serverless-aws-sdk-stepfunctions 55.38% <ø> (-0.02%) ⬇️
serverless-aws-sdk-util 51.43% <ø> (-0.03%) ⬇️
serverless-bucket-0 54.06% <ø> (ø)
serverless-bucket-1 58.82% <ø> (-0.03%) ⬇️
test-optimization-cucumber 71.01% <ø> (-0.03%) ⬇️
test-optimization-cypress 64.85% <ø> (+0.10%) ⬆️
test-optimization-jest 72.42% <ø> (-0.01%) ⬇️
test-optimization-mocha 72.09% <ø> (+0.05%) ⬆️
test-optimization-playwright-playwright-atr 59.88% <ø> (+0.01%) ⬆️
test-optimization-playwright-playwright-efd 60.01% <ø> (+0.01%) ⬆️
test-optimization-playwright-playwright-final-status 60.25% <ø> (+0.08%) ⬆️
test-optimization-playwright-playwright-impacted-tests 59.72% <ø> (+0.16%) ⬆️
test-optimization-playwright-playwright-reporting 60.88% <ø> (-0.09%) ⬇️
test-optimization-playwright-playwright-test-management 60.70% <ø> (-0.09%) ⬇️
test-optimization-playwright-playwright-test-span 59.93% <ø> (-0.05%) ⬇️
test-optimization-selenium 59.07% <ø> (-0.13%) ⬇️
test-optimization-testopt 57.61% <ø> (+0.07%) ⬆️
test-optimization-vitest 73.30% <ø> (+0.05%) ⬆️
test-optimization-vitest-browser 58.95% <ø> (+0.01%) ⬆️
test-optimization-webdriverio 65.43% <ø> (+0.05%) ⬆️

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.

@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-05-eslint-callback-literals branch from e01d261 to 2f05390 Compare August 5, 2026 09:32
@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-05-eslint-callback-literals branch from 2f05390 to 6edd0f8 Compare August 7, 2026 12:10
@BridgeAR
BridgeAR changed the base branch from dependabot/npm_and_yarn/dev-minor-and-patch-dependencies-8f20b514ec to master August 7, 2026 12:10
@BridgeAR
BridgeAR marked this pull request as ready for review August 7, 2026 12:18
@BridgeAR
BridgeAR requested review from a team as code owners August 7, 2026 12:18
@BridgeAR
BridgeAR requested review from bojbrook and khanayan123 and removed request for a team August 7, 2026 12:18
@pabloerhard
pabloerhard merged commit 52d0951 into master Aug 10, 2026
715 of 716 checks passed
@pabloerhard
pabloerhard deleted the BridgeAR/2026-08-05-eslint-callback-literals branch August 10, 2026 19:38
This was referenced Aug 11, 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