Skip to content

👷 Add debugger bundle to deploy scripts - #4682

Merged
watson merged 1 commit into
mainfrom
watson/deploy-debugger
May 28, 2026
Merged

👷 Add debugger bundle to deploy scripts#4682
watson merged 1 commit into
mainfrom
watson/deploy-debugger

Conversation

@watson

@watson watson commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Deploy scripts should publish the debugger bundle and upload its source maps for environments where the debugger package exists, without regressing historical v6 deployment coverage.

Changes

  • Add the debugger package to deployment package selection with browser-debugger-sdk as its source-map service.
  • Replace the exported raw package array with getPackages(version) so versioned releases can skip packages introduced after the requested major version.
  • Keep v6 deployment/source-map coverage unchanged while adding debugger expectations for staging, canary, v7 canary, and PR paths.

Test instructions

  • Run node --test --experimental-test-module-mocks scripts/deploy/deploy.spec.ts scripts/deploy/upload-source-maps.spec.ts

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@watson
watson requested a review from a team as a code owner May 27, 2026 12:31

watson commented May 27, 2026

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented May 27, 2026

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 175.47 KiB 175.47 KiB 0 B 0.00%
Rum Profiler 8.08 KiB 8.08 KiB 0 B 0.00%
Rum Recorder 21.23 KiB 21.23 KiB 0 B 0.00%
Logs 57.01 KiB 57.01 KiB 0 B 0.00%
Rum Slim 133.08 KiB 133.08 KiB 0 B 0.00%
Worker 22.99 KiB 22.99 KiB 0 B 0.00%

🔗 RealWorld

@watson
watson force-pushed the watson/deploy-debugger branch from 3f3b2d7 to c7ca4b0 Compare May 27, 2026 12:34
@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented May 27, 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: 76.57% (+0.00%)

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

@watson
watson force-pushed the watson/deploy-debugger branch 3 times, most recently from c827021 to 120ddfd Compare May 28, 2026 06:01
@watson
watson force-pushed the watson/deploy-debugger branch from 120ddfd to 2ebd1b3 Compare May 28, 2026 06:04
@watson
watson merged commit 0fad4f6 into main May 28, 2026
31 checks passed
@watson
watson deleted the watson/deploy-debugger branch May 28, 2026 07:52
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants