⚗️ Default debugger version and embed build identity in snapshots - #4511
Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits intoMay 21, 2026
Merged
Conversation
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: cd05b6a | Docs | Datadog PR Page | Give us feedback! |
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
April 21, 2026 07:35
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 21, 2026 07:39
4c0a5c3 to
bc690fe
Compare
watson
force-pushed
the
graphite-base/4511
branch
from
April 21, 2026 07:39
bf9a162 to
b9da4f3
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/add-live-debugger
April 21, 2026 07:39
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
April 21, 2026 08:17
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 21, 2026 08:19
bc690fe to
44d9b67
Compare
watson
force-pushed
the
graphite-base/4511
branch
from
April 21, 2026 08:19
b9da4f3 to
0040ee8
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/add-live-debugger
April 21, 2026 08:19
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
April 21, 2026 09:12
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 21, 2026 09:14
44d9b67 to
c3334a6
Compare
watson
force-pushed
the
graphite-base/4511
branch
from
April 21, 2026 09:14
0040ee8 to
653aee9
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/add-live-debugger
April 21, 2026 09:14
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
April 22, 2026 12:24
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 22, 2026 13:40
cff6b3c to
1ffcdba
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/add-live-debugger
April 22, 2026 13:40
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 22, 2026 14:24
1ffcdba to
5259f76
Compare
watson
force-pushed
the
watson/DEBUG-5296/add-live-debugger
branch
from
April 22, 2026 14:24
43903ba to
7d1efe7
Compare
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
April 23, 2026 10:42
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
April 23, 2026 11:00
7defb2b to
93ca4e3
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/add-live-debugger
April 23, 2026 11:00
watson
changed the base branch from
watson/DEBUG-5296/add-live-debugger
to
graphite-base/4511
May 7, 2026 05:31
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
May 12, 2026 11:16
1ed65c3 to
f05e4d1
Compare
watson
force-pushed
the
graphite-base/4511
branch
from
May 12, 2026 11:16
8130067 to
0bcb507
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/allow-no-args-or-locals
May 12, 2026 11:16
This was referenced May 12, 2026
watson
force-pushed
the
watson/DEBUG-5296/allow-no-args-or-locals
branch
from
May 12, 2026 11:43
0bcb507 to
1eeda79
Compare
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
2 times, most recently
from
May 12, 2026 14:15
077b2b1 to
1a6bded
Compare
Allow the build plugin to omit empty args/locals arguments from
$dd_entry, $dd_return, and $dd_throw calls by defaulting the
parameters to {} in onEntry, onReturn, and onThrow.
Use build-plugin injected Live Debugger metadata as the default runtime `init().version`, and warn when an explicit init version disagrees. Document the fallback behavior and cover the new version resolution path in unit tests.
watson
changed the base branch from
watson/DEBUG-5296/allow-no-args-or-locals
to
graphite-base/4511
May 12, 2026 15:39
watson
force-pushed
the
watson/DEBUG-5465/use-build-version
branch
from
May 13, 2026 05:07
1a6bded to
cd05b6a
Compare
watson
force-pushed
the
graphite-base/4511
branch
from
May 13, 2026 05:07
13d0744 to
0a9836c
Compare
watson
changed the base branch from
graphite-base/4511
to
watson/DEBUG-5296/allow-no-args-or-locals
May 13, 2026 05:07
watson
marked this pull request as ready for review
May 13, 2026 05:08
maycmlee
approved these changes
May 13, 2026
p-datadog
approved these changes
May 20, 2026
Base automatically changed from
watson/DEBUG-5296/allow-no-args-or-locals
to
main
May 20, 2026 17:56
gh-worker-dd-mergequeue-cf854d
Bot
deleted the
watson/DEBUG-5465/use-build-version
branch
May 21, 2026 08:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation
The Browser Debugger SDK should be able to pick up the browser build version injected by the Live Debugger build plugin so applications do not need to pass the same deployed build identifier into
datadogDebugger.init()a second time.The debugger snapshot payload also needs
applicationIdandversionso downstream browser-build and source-resolution flows can identify the correct browser build when git tags are unavailable.Changes
Version defaulting from build metadata
datadogDebugger.init().versionfrom the build-plugin metadata when callers omitversioninit({ version })value authoritative and warn if it disagrees with the injected build-plugin versionversionis optional, but browser build lookup and source-aware resolution depend on an immutable deployed build identifier when availableSnapshot build identity
applicationIdandversionas a structuredbuildobject inside thedebugger.snapshotpayload (debugger.snapshot.build = { applicationId, version })application_idas a top-level field and duplicatingapplication_id/versionintoddtags, which was vulnerable to tag collision from downstream enrichmentbuildobject rides on the existing@debugger.snapshotcolumn projection, so the web UI reads it without any query changesVersion documentation
versionis optional in the Browser Debugger README and API docsversionshould be the immutable deployed browser build identifierversionis absentTest instructions
Run:
Part of larger effort
This PR is one part of the browser Live Debugger source-resolution work across multiple repositories:
Checklist