Skip to content

ci(release): Bump browser-early-collection with the SDK version - #5344

Merged
thomas-lebeau merged 3 commits into
mainfrom
thomas-lebeau/RUM-19884-bump-early-collection
Nov 27, 2026
Merged

thomas-lebeau merged 3 commits into
mainfrom
thomas-lebeau/RUM-19884-bump-early-collection

Conversation

@thomas-lebeau

@thomas-lebeau thomas-lebeau commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

The release PR #5343 bumps all the Browser SDK packages to 7.20.0, except @datadog/browser-early-collection. This package stays at 7.19.0.

The problem: #5192 added the package while #5263 was in review. #5263 did not have the package in extra-files, and its CI ran without #5192. Thus, the config spec did not fail before the merge. It fails on main now.

Refs: RUM-19884

Changes

  • release-please-config.json: add packages/browser-early-collection/package.json to the extra-files of the root component.
  • docs/REVIEW.md: a new package that uses the Browser SDK version must be in extra-files. A package that has its own version (like @datadog/js-core) must have its own component in release-please-config.json and an entry in .release-please-manifest.json.
  • filesUtils.ts: isIndependentlyVersionedPackage now reads the independent packages from release-please-config.json: all the components except the root (.). The hardcoded INDEPENDENTLY_VERSIONED_PACKAGES list is removed. Thus, the configuration is the only list. The function now takes the package.json path instead of the package name. The two callers are updated (checkBrowserSdkPackageJsonFiles.ts, prepare-release.ts).
  • release-please-config.spec.ts: the manifest test now checks every independent package, not only js-core. Each package must have a manifest entry with its current version.

After the merge, the release job updates #5343. Then #5343 also bumps the package to 7.20.0.

Test instructions

  1. Run node --test scripts/release/release-please-config.spec.ts. All the tests pass. On main, the test "bumps every package.json on the Browser SDK version" fails.
  2. After the merge, make sure that chore(release): v7.20.0 #5343 changes packages/browser-early-collection/package.json to 7.20.0.

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

@thomas-lebeau
thomas-lebeau requested a review from a team as a code owner November 27, 2026 09:09
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T09:29:53.127988Z b070069 New commits
🔒 Security Review ✅ Completed 2026-11-27T09:32:33.700992Z b070069 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum Salesforce 194.65 KiB 194.65 KiB 0 B 0.00% ✅
Rum 194.63 KiB 194.63 KiB 0 B 0.00% ✅
Rum Salesforce Profiler 8.10 KiB 8.10 KiB 0 B 0.00% ✅
Rum Profiler 8.10 KiB 8.10 KiB 0 B 0.00% ✅
Rum Salesforce Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Rum Recorder 32.80 KiB 32.80 KiB 0 B 0.00% ✅
Logs 60.40 KiB 60.40 KiB 0 B 0.00% ✅
Rum Slim 150.02 KiB 150.02 KiB 0 B 0.00% ✅
Worker 24.23 KiB 24.23 KiB 0 B 0.00% ✅
Rum Shopify 226.17 KiB 226.17 KiB 0 B 0.00% ✅
Rum Shopify Profiler 8.10 KiB 8.10 KiB 0 B 0.00% ✅
Rum Shopify Recorder 4.85 KiB 4.85 KiB 0 B 0.00% ✅
Early Collection 309 B 309 B 0 B 0.00% ✅

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 78.07% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b070069 | Docs | View more details | Give us feedback!

@datadog-datadog-prod-us1 datadog-datadog-prod-us1 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

The release configuration now covers every package sharing the Browser SDK version, including browser-early-collection, addressing its omission from SDK-wide version bumps.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 900f997

@thomas-lebeau
thomas-lebeau merged commit 342bbf8 into main Nov 27, 2026
32 checks passed
@thomas-lebeau
thomas-lebeau deleted the thomas-lebeau/RUM-19884-bump-early-collection branch November 27, 2026 10:49
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 27, 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