Document optional browser debugger version#4503
Closed
watson wants to merge 1 commit intographite-base/4503from
Closed
Document optional browser debugger version#4503watson wants to merge 1 commit intographite-base/4503from
watson wants to merge 1 commit intographite-base/4503from
Conversation
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
5 tasks
Bundles Sizes Evolution
🚀 CPU Performance
🧠 Memory Performance
|
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: ea9361d | Docs | Datadog PR Page | Give us feedback! |
4d848e6 to
91efb95
Compare
c459811 to
9993e55
Compare
91efb95 to
bf9a162
Compare
9993e55 to
c442ca9
Compare
This was referenced Apr 21, 2026
bf9a162 to
b9da4f3
Compare
c442ca9 to
c82f98e
Compare
5 tasks
c82f98e to
7937903
Compare
b9da4f3 to
0040ee8
Compare
Clarify that browser debugger version is optional, but when provided it should match the immutable deployed build identifier used for browser build lookup and sourcemap resolution. This keeps the SDK contract aligned with graceful degradation when no version is configured.
0040ee8 to
653aee9
Compare
7937903 to
ea9361d
Compare
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
Browser Live Debugger can use
versionto resolve browser builds back to uploaded sourcemap metadata, butversionshould remain optional so the product still works when applications do not provide it. The SDK docs and API examples should make that graceful-degradation behavior explicit.Changes
versionas optional in the Browser Debugger packageversionshould be the immutable deployed browser build identifierversionstill allows debugger delivery and snapshots to work, but browser build lookup and source-aware resolution may be unavailabledatadogDebugger.init()example in the public API docs to reflect the optionalversionfieldTest instructions
packages/debugger/README.mdpackages/debugger/src/entries/main.tsversionas optionalversionwhen presentversionis absentChecklist
Tested locallyTested on stagingAdded unit tests for this change.Added e2e/integration tests for this change.