Skip to content

fix(debugger): keep breakpoint id in sync after update#8968

Merged
BridgeAR merged 1 commit into
masterfrom
watson/keep-breakpoint-id-in-sync
Jun 18, 2026
Merged

fix(debugger): keep breakpoint id in sync after update#8968
BridgeAR merged 1 commit into
masterfrom
watson/keep-breakpoint-id-in-sync

Conversation

@watson

@watson watson commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Keeps the debugger devtools client's stored breakpoint id in sync when a breakpoint is removed and recreated to update its condition.

Adds a regression test that makes Debugger.setBreakpoint return a new id for each replacement, then verifies later updates remove the active breakpoint id instead of the stale one.

Motivation

When multiple probes share a location and their combined condition changes, the client replaces the inspector breakpoint. V8 can return a different breakpoint id for the replacement. We already moved the probe map to the new id, but the location map still held the old id, so later removals or updates could target stale state.

@watson
watson requested a review from a team as a code owner June 17, 2026 19:41
@github-actions github-actions Bot added semver-patch debugger Dynamic Instrumentation & Live Debugger labels Jun 17, 2026

watson commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

@dd-octo-sts

dd-octo-sts Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.25 MB
Deduped: 7.29 MB
No deduping: 7.29 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 821.74 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

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.11%. Comparing base (0b4cf27) to head (5ccd11f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8968      +/-   ##
==========================================
+ Coverage   91.53%   93.11%   +1.58%     
==========================================
  Files         876      877       +1     
  Lines       50234    50257      +23     
  Branches     9865     9866       +1     
==========================================
+ Hits        45981    46797     +816     
+ Misses       4253     3460     -793     
Flag Coverage Δ
aiguard-integration-active 41.45% <ø> (+0.12%) ⬆️
aiguard-integration-latest 41.45% <ø> (-0.01%) ⬇️
aiguard-integration-maintenance 41.54% <ø> (ø)
aiguard-macos 34.58% <ø> (-0.08%) ⬇️
aiguard-ubuntu 34.73% <ø> (-0.08%) ⬇️
aiguard-windows 34.40% <ø> (-0.08%) ⬇️
apm-capabilities-tracing-macos 47.87% <ø> (?)
apm-capabilities-tracing-ubuntu-active 47.87% <ø> (?)
apm-capabilities-tracing-ubuntu-latest 48.04% <ø> (?)
apm-capabilities-tracing-ubuntu-maintenance 47.91% <ø> (ø)
apm-capabilities-tracing-ubuntu-oldest 48.10% <ø> (+0.17%) ⬆️
apm-capabilities-tracing-windows 47.86% <ø> (+<0.01%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 33.01% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.03% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 33.03% <ø> (?)
apm-integrations-aerospike-22-gte.6.0.0 33.03% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-eol- 32.93% <ø> (-0.08%) ⬇️
apm-integrations-child-process 33.95% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 40.02% <ø> (?)
apm-integrations-confluentinc-kafka-javascript-20 40.03% <ø> (?)
apm-integrations-confluentinc-kafka-javascript-22 40.04% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 39.93% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-18 33.19% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-eol 33.07% <ø> (-0.08%) ⬇️
apm-integrations-dns 32.95% <ø> (-0.08%) ⬇️
apm-integrations-elasticsearch 33.97% <ø> (-0.08%) ⬇️
apm-integrations-http-latest 41.16% <ø> (-0.07%) ⬇️
apm-integrations-http-maintenance 41.25% <ø> (-0.07%) ⬇️
apm-integrations-http-oldest 41.18% <ø> (-0.07%) ⬇️
apm-integrations-http2 38.47% <ø> (+0.08%) ⬆️
apm-integrations-kafkajs-latest 40.13% <ø> (+0.02%) ⬆️
apm-integrations-kafkajs-oldest 40.26% <ø> (-0.03%) ⬇️
apm-integrations-net 33.65% <ø> (-0.08%) ⬇️
apm-integrations-next-11.1.4 36.64% <ø> (ø)
apm-integrations-next-12.3.7 36.64% <ø> (ø)
apm-integrations-next-13.0.0 28.98% <ø> (-0.12%) ⬇️
apm-integrations-next-13.2.0 28.98% <ø> (-0.08%) ⬇️
apm-integrations-next-13.5.11 29.12% <ø> (-0.08%) ⬇️
apm-integrations-next-14.0.0 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.35 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.6 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.7 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-15.0.0 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-15.4.0 29.12% <ø> (-0.08%) ⬇️
apm-integrations-next-latest 29.16% <ø> (-0.08%) ⬇️
apm-integrations-oracledb 33.86% <ø> (?)
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 34.74% <ø> (-0.08%) ⬇️
apm-integrations-prisma-latest-all 34.15% <ø> (-0.08%) ⬇️
apm-integrations-restify 35.05% <ø> (-0.08%) ⬇️
apm-integrations-sharedb 32.36% <ø> (-0.08%) ⬇️
apm-integrations-tedious 33.27% <ø> (-0.08%) ⬇️
appsec-express 50.96% <ø> (-0.03%) ⬇️
appsec-fastify 47.67% <ø> (-0.06%) ⬇️
appsec-graphql 47.73% <ø> (-0.08%) ⬇️
appsec-integration-active 36.09% <ø> (ø)
appsec-integration-latest 36.09% <ø> (ø)
appsec-integration-maintenance 36.15% <ø> (ø)
appsec-integration-oldest 36.15% <ø> (ø)
appsec-kafka 40.28% <ø> (-0.02%) ⬇️
appsec-ldapjs 39.76% <ø> (-0.07%) ⬇️
appsec-lodash 39.68% <ø> (-0.07%) ⬇️
appsec-macos 57.21% <ø> (-0.05%) ⬇️
appsec-mongodb-core 43.87% <ø> (-0.06%) ⬇️
appsec-mongoose 44.71% <ø> (-0.08%) ⬇️
appsec-mysql 46.96% <ø> (+0.06%) ⬆️
appsec-next-latest-11.1.4 27.28% <ø> (-0.07%) ⬇️
appsec-next-latest-12.3.7 27.70% <ø> (ø)
appsec-next-latest-13.0.0 29.08% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 29.10% <ø> (?)
appsec-next-latest-13.5.11 29.19% <ø> (-0.08%) ⬇️
appsec-next-latest-14.0.0 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.35 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.6 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.7 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-15.0.0 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-latest 29.16% <ø> (-0.08%) ⬇️
appsec-next-oldest-11.1.4 27.33% <ø> (-0.07%) ⬇️
appsec-next-oldest-12.3.7 29.14% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.0.0 29.14% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 29.40% <ø> (?)
appsec-next-oldest-13.5.11 29.50% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.0.0 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.35 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.6 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.7 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-15.0.0 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-latest 27.90% <ø> (ø)
appsec-node-serialize 38.99% <ø> (-0.07%) ⬇️
appsec-passport 42.61% <ø> (-0.07%) ⬇️
appsec-postgres ?
appsec-sourcing 38.40% <ø> (-0.07%) ⬇️
appsec-stripe 40.45% <ø> (-0.08%) ⬇️
appsec-template 39.23% <ø> (-0.07%) ⬇️
appsec-ubuntu 57.24% <ø> (-0.06%) ⬇️
appsec-windows 57.05% <ø> (+0.01%) ⬆️
debugger-ubuntu-active 43.51% <100.00%> (+<0.01%) ⬆️
debugger-ubuntu-latest 43.51% <100.00%> (+<0.01%) ⬆️
debugger-ubuntu-maintenance 43.56% <100.00%> (-0.08%) ⬇️
debugger-ubuntu-oldest 43.94% <100.00%> (+<0.01%) ⬆️
instrumentations-instrumentation-ai 45.33% <ø> (ø)
instrumentations-instrumentation-aws-sdk 44.93% <ø> (ø)
instrumentations-instrumentation-bluebird 27.42% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-body-parser 35.56% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-child_process 33.33% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-cookie-parser 29.31% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-couchbase-18 46.02% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 46.02% <ø> (ø)
instrumentations-instrumentation-crypto 27.47% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express 29.52% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.43% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-multi-version 41.47% <ø> (ø)
instrumentations-instrumentation-express-session 35.33% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-fastify 47.86% <ø> (ø)
instrumentations-instrumentation-fetch 44.76% <ø> (ø)
instrumentations-instrumentation-fs 27.18% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-generic-pool 27.02% <ø> (ø)
instrumentations-instrumentation-hono 28.63% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http 37.90% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http-client-options 37.50% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-kafkajs 48.94% <ø> (ø)
instrumentations-instrumentation-knex 27.41% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-light-my-request 35.19% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mongoose 28.52% <ø> (?)
instrumentations-instrumentation-multer 35.23% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mysql2 33.36% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-openai-lifecycle 46.00% <ø> (ø)
instrumentations-instrumentation-otel-sdk-trace 25.27% <ø> (ø)
instrumentations-instrumentation-passport 39.12% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-http 38.81% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-local 39.27% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-pg 33.08% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise 27.37% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise-js 27.37% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-q 27.40% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-router 43.07% <ø> (ø)
instrumentations-instrumentation-stripe 27.90% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-url 27.30% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-when 27.38% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-zlib 27.35% <ø> (-0.08%) ⬇️
instrumentations-integration-esbuild-0.16.12-active 24.59% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-latest 24.59% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-maintenance 18.57% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-oldest 18.56% <ø> (ø)
instrumentations-integration-esbuild-latest-active 24.59% <ø> (ø)
instrumentations-integration-esbuild-latest-latest 24.59% <ø> (ø)
instrumentations-integration-esbuild-latest-maintenance 18.57% <ø> (ø)
instrumentations-integration-esbuild-latest-oldest 18.56% <ø> (ø)
llmobs-ai 35.08% <ø> (-0.07%) ⬇️
llmobs-anthropic 36.46% <ø> (?)
llmobs-bedrock 35.98% <ø> (-0.07%) ⬇️
llmobs-google-genai 35.74% <ø> (-0.07%) ⬇️
llmobs-langchain 34.76% <ø> (-0.06%) ⬇️
llmobs-openai-latest 39.39% <ø> (-0.07%) ⬇️
llmobs-openai-oldest 39.47% <ø> (-0.07%) ⬇️
llmobs-sdk-active 43.43% <ø> (-0.08%) ⬇️
llmobs-sdk-latest 43.43% <ø> (-0.08%) ⬇️
llmobs-sdk-maintenance 43.53% <ø> (-0.08%) ⬇️
llmobs-sdk-oldest 43.52% <ø> (-0.08%) ⬇️
llmobs-vertex-ai 35.51% <ø> (?)
master-coverage 93.11% <100.00%> (?)
openfeature-macos 37.33% <ø> (ø)
openfeature-ubuntu 37.53% <ø> (ø)
openfeature-unit-active 49.95% <ø> (ø)
openfeature-unit-latest 49.95% <ø> (ø)
openfeature-unit-maintenance 50.32% <ø> (ø)
openfeature-unit-oldest 50.32% <ø> (ø)
openfeature-windows 37.27% <ø> (ø)
platform-core 45.98% <ø> (ø)
platform-esbuild 46.62% <ø> (ø)
platform-instrumentations-misc 29.32% <ø> (ø)
platform-integration-active 46.64% <ø> (+0.04%) ⬆️
platform-integration-latest 46.65% <ø> (+<0.01%) ⬆️
platform-integration-maintenance ?
platform-integration-oldest 46.89% <ø> (ø)
platform-shimmer 47.05% <ø> (ø)
platform-unit-guardrails 44.04% <ø> (ø)
platform-webpack 18.10% <ø> (ø)
plugins-aws-durable-execution-sdk-js 32.74% <ø> (-0.07%) ⬇️
plugins-axios 35.32% <ø> (ø)
plugins-azure-cosmos ?
plugins-azure-event-hubs 34.65% <ø> (ø)
plugins-azure-service-bus 35.14% <ø> (ø)
plugins-body-parser 36.32% <ø> (?)
plugins-bullmq 39.41% <ø> (-0.08%) ⬇️
plugins-cassandra 33.48% <ø> (?)
plugins-cookie 40.62% <ø> (ø)
plugins-cookie-parser 40.45% <ø> (ø)
plugins-crypto 42.36% <ø> (ø)
plugins-dd-trace-api 33.19% <ø> (-0.08%) ⬇️
plugins-express-mongo-sanitize 40.51% <ø> (ø)
plugins-express-session 40.37% <ø> (ø)
plugins-fastify 37.64% <ø> (-0.08%) ⬇️
plugins-fetch 33.91% <ø> (-0.08%) ⬇️
plugins-fs 33.61% <ø> (-0.08%) ⬇️
plugins-generic-pool 39.94% <ø> (ø)
plugins-google-cloud-pubsub 41.30% <ø> (?)
plugins-grpc 36.39% <ø> (-0.08%) ⬇️
plugins-handlebars 40.51% <ø> (ø)
plugins-hapi 35.46% <ø> (-0.08%) ⬇️
plugins-hono 35.79% <ø> (-0.08%) ⬇️
plugins-ioredis 34.17% <ø> (?)
plugins-jest 27.10% <ø> (ø)
plugins-knex 39.98% <ø> (ø)
plugins-langgraph 32.21% <ø> (-0.08%) ⬇️
plugins-ldapjs 38.96% <ø> (ø)
plugins-light-my-request 40.08% <ø> (ø)
plugins-limitd-client 27.73% <ø> (-0.08%) ⬇️
plugins-lodash 40.12% <ø> (ø)
plugins-mariadb 35.00% <ø> (-0.08%) ⬇️
plugins-memcached 33.56% <ø> (-0.08%) ⬇️
plugins-microgateway-core 34.56% <ø> (-0.08%) ⬇️
plugins-modelcontextprotocol-sdk 32.17% <ø> (-0.08%) ⬇️
plugins-moleculer 36.45% <ø> (-0.08%) ⬇️
plugins-mongodb 35.60% <ø> (-0.08%) ⬇️
plugins-mongodb-core ?
plugins-mongoose 34.19% <ø> (-0.08%) ⬇️
plugins-multer 40.42% <ø> (ø)
plugins-mysql 34.48% <ø> (+0.06%) ⬆️
plugins-mysql2 34.81% <ø> (-0.08%) ⬇️
plugins-nats 36.19% <ø> (-0.08%) ⬇️
plugins-node-serialize 40.65% <ø> (ø)
plugins-opensearch 33.42% <ø> (-0.08%) ⬇️
plugins-passport-http 40.24% <ø> (ø)
plugins-pino 29.66% <ø> (-0.08%) ⬇️
plugins-postgres 34.52% <ø> (-0.08%) ⬇️
plugins-process 42.36% <ø> (ø)
plugins-pug 40.62% <ø> (ø)
plugins-redis 34.08% <ø> (-0.08%) ⬇️
plugins-router 38.04% <ø> (-0.08%) ⬇️
plugins-sequelize 39.90% <ø> (ø)
plugins-test-and-upstream-amqp10 33.53% <ø> (-0.25%) ⬇️
plugins-test-and-upstream-amqplib 38.88% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-apollo 34.65% <ø> (-0.07%) ⬇️
plugins-test-and-upstream-avsc 33.58% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-bunyan 28.87% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-connect 36.13% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-graphql 35.89% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-koa 35.64% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-protobufjs 33.81% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-rhea 39.01% <ø> (-0.08%) ⬇️
plugins-undici 34.40% <ø> (-0.07%) ⬇️
plugins-url 42.36% <ø> (ø)
plugins-valkey 33.63% <ø> (-0.10%) ⬇️
plugins-vm 42.36% <ø> (ø)
plugins-winston 29.52% <ø> (-0.08%) ⬇️
plugins-ws 36.94% <ø> (-0.08%) ⬇️
profiling-macos 43.04% <ø> (-0.07%) ⬇️
profiling-ubuntu 43.48% <ø> (-0.07%) ⬇️
profiling-windows 40.71% <ø> (-0.12%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.82% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-client 36.32% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 33.75% <ø> (-0.12%) ⬇️
serverless-aws-sdk-latest-eventbridge 26.82% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-kinesis 37.01% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-lambda 34.26% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-s3 32.17% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.14% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sns 38.02% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-sqs 37.64% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-stepfunctions 32.83% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-util 46.39% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 33.04% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 31.91% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-client ?
serverless-aws-sdk-oldest-dynamodb 33.90% <ø> (-0.02%) ⬇️
serverless-aws-sdk-oldest-eventbridge 26.90% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-kinesis 37.18% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-lambda ?
serverless-aws-sdk-oldest-s3 32.30% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 39.22% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-sns 38.24% <ø> (+0.05%) ⬆️
serverless-aws-sdk-oldest-sqs 37.72% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 32.94% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-util 47.13% <ø> (ø)
serverless-azure-durable-functions 36.60% <ø> (?)
serverless-azure-functions-eventhubs ?
serverless-azure-functions-servicebus 38.29% <ø> (ø)
serverless-lambda 34.23% <ø> (-0.10%) ⬇️
test-optimization-cucumber-latest-7.0.0 49.92% <ø> (?)
test-optimization-cucumber-latest-latest 52.66% <ø> (+0.11%) ⬆️
test-optimization-cucumber-oldest-7.0.0 50.01% <ø> (+0.11%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 47.52% <ø> (-1.68%) ⬇️
test-optimization-cypress-latest-12.0.0-esm 49.29% <ø> (+0.38%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 49.11% <ø> (+0.13%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 49.25% <ø> (+0.21%) ⬆️
test-optimization-cypress-latest-latest-commonJS 49.60% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-latest-esm 49.60% <ø> (+0.04%) ⬆️
test-optimization-cypress-oldest-12.0.0-commonJS 49.35% <ø> (+0.07%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 47.63% <ø> (-1.68%) ⬇️
test-optimization-cypress-oldest-14.5.4-commonJS 49.06% <ø> (+0.45%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 49.23% <ø> (+0.07%) ⬆️
test-optimization-jest-latest-latest 55.36% <ø> (+0.08%) ⬆️
test-optimization-jest-latest-oldest 54.29% <ø> (+2.39%) ⬆️
test-optimization-jest-oldest-latest 55.41% <ø> (+0.08%) ⬆️
test-optimization-jest-oldest-oldest 54.30% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-latest 53.61% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-oldest 51.16% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest 53.71% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-oldest 51.15% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span ?
test-optimization-playwright-latest-latest-playwright-atr 42.86% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.28% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-latest-playwright-final-status 43.35% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.83% <ø> (ø)
test-optimization-playwright-latest-latest-playwright-reporting 42.90% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.50% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.05% <ø> (+0.27%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 42.94% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.21% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.28% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.75% <ø> (ø)
test-optimization-playwright-latest-oldest-playwright-reporting 42.71% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.45% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.29% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 42.94% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.36% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.45% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.91% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 42.95% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.56% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.13% <ø> (+0.27%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr ?
test-optimization-playwright-oldest-oldest-playwright-efd ?
test-optimization-playwright-oldest-oldest-playwright-final-status 43.36% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.84% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 42.77% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.54% <ø> (+0.10%) ⬆️
test-optimization-selenium-latest 45.20% <ø> (+0.06%) ⬆️
test-optimization-selenium-oldest 45.04% <ø> (+0.33%) ⬆️
test-optimization-testopt-active 48.28% <ø> (+0.12%) ⬆️
test-optimization-testopt-latest 48.28% <ø> (+0.12%) ⬆️
test-optimization-testopt-maintenance 48.27% <ø> (+0.13%) ⬆️
test-optimization-testopt-oldest 49.37% <ø> (+0.10%) ⬆️
test-optimization-vitest-latest 50.82% <ø> (+0.10%) ⬆️
test-optimization-vitest-oldest 48.06% <ø> (+0.34%) ⬆️

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.

@datadog-prod-us1-5

This comment has been minimized.

@pr-commenter

pr-commenter Bot commented Jun 17, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-18 12:13:41

Comparing candidate commit 5ccd11f in PR branch watson/keep-breakpoint-id-in-sync with baseline commit 0b4cf27 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1952 metrics, 13 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 [-155.705ms; +147.652ms] or [-5.915%; +5.609%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-175691.507µs; +175354.907µs] or [-7.079%; +7.065%]

scenario:appsec-control-20

  • unstable execution_time [-133.986ms; +129.164ms] or [-7.759%; +7.480%]

scenario:appsec-control-24

  • unstable execution_time [-92.604ms; +99.335ms] or [-7.726%; +8.287%]

scenario:appsec-control-26

  • unstable execution_time [-97.095ms; +94.153ms] or [-8.233%; +7.983%]

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

  • unstable max_rss_usage [-9923.955KB; +11869.555KB] or [-5.446%; +6.513%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-473.009ms; +166.509ms] or [-9.945%; +3.501%]
  • unstable execution_time [-468.794ms; +164.871ms] or [-9.699%; +3.411%]

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

  • unstable cpu_user_time [-368.044ms; +282.045ms] or [-8.501%; +6.515%]
  • unstable execution_time [-393.548ms; +309.960ms] or [-8.532%; +6.720%]
  • unstable max_rss_usage [-45.814MB; +38.397MB] or [-8.705%; +7.296%]

scenario:spans-finish-later-26

  • unstable max_rss_usage [-10.170MB; +19.932MB] or [-5.763%; +11.295%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-5920.208KB; +7606.874KB] or [-7.136%; +9.169%]

When debugger conditions change, the devtools client removes and recreates
the inspector breakpoint. V8 may return a new breakpoint id for the new
breakpoint, but the location map kept the old id.

Update the stored breakpoint id after replacement so later removals and
condition updates use the active inspector breakpoint.

Add a regression test with changing breakpoint ids to catch stale state.
@watson
watson force-pushed the watson/keep-breakpoint-id-in-sync branch from 7323631 to 5ccd11f Compare June 18, 2026 12:03
@BridgeAR
BridgeAR merged commit b4c2615 into master Jun 18, 2026
801 checks passed
@BridgeAR
BridgeAR deleted the watson/keep-breakpoint-id-in-sync branch June 18, 2026 12:15
tlhunter pushed a commit that referenced this pull request Jun 18, 2026
When debugger conditions change, the devtools client removes and recreates
the inspector breakpoint. V8 may return a new breakpoint id for the new
breakpoint, but the location map kept the old id.

Update the stored breakpoint id after replacement so later removals and
condition updates use the active inspector breakpoint.

Add a regression test with changing breakpoint ids to catch stale state.
dd-octo-sts Bot pushed a commit that referenced this pull request Jun 19, 2026
When debugger conditions change, the devtools client removes and recreates
the inspector breakpoint. V8 may return a new breakpoint id for the new
breakpoint, but the location map kept the old id.

Update the stored breakpoint id after replacement so later removals and
condition updates use the active inspector breakpoint.

Add a regression test with changing breakpoint ids to catch stale state.
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jun 19, 2026
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jun 26, 2026
pabloerhard pushed a commit that referenced this pull request Jun 26, 2026
When debugger conditions change, the devtools client removes and recreates
the inspector breakpoint. V8 may return a new breakpoint id for the new
breakpoint, but the location map kept the old id.

Update the stored breakpoint id after replacement so later removals and
condition updates use the active inspector breakpoint.

Add a regression test with changing breakpoint ids to catch stale state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debugger Dynamic Instrumentation & Live Debugger semver-patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants