Skip to content

ci(scripts): Allow the CHANGELOG.md that Yarn always packs - #5348

Merged
thomas-lebeau merged 1 commit into
mainfrom
thomas-lebeau/RUM-19884-pack-changelog
Nov 27, 2026
Merged

thomas-lebeau merged 1 commit into
mainfrom
thomas-lebeau/RUM-19884-pack-changelog

Conversation

@thomas-lebeau

Copy link
Copy Markdown
Collaborator

Motivation

The release PR #5343 fails build-and-lint:

Package @datadog/js-core contains files not covered by the "files" field: CHANGELOG.md

release-please creates packages/js-core/CHANGELOG.md for the js-core component. Yarn always adds a CHANGELOG* file to a package, whatever the files field contains (like README* and LICENSE*). scripts/check-packages.ts did not have CHANGELOG.md in its list of files that are always included.

Refs: RUM-19884

Changes

  • scripts/check-packages.ts: add CHANGELOG.md to ALWAYS_INCLUDED_FILES. Thus, the js-core npm package contains its changelog.

Test instructions

  1. Copy packages/js-core/CHANGELOG.md from the release-please--branches--main branch.
  2. Run yarn build, then node scripts/check-packages.ts. The check passes. Without this change, it fails with the error above.

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 15:02
@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-27T15:03:13.736854Z f1067e7 PR opened
🔒 Security Review ✅ Completed 2026-11-27T15:04:43.980752Z f1067e7 PR opened
ℹ️ 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 7.93 KiB 7.93 KiB 0 B 0.00% ✅
Rum Profiler 7.93 KiB 7.93 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 7.93 KiB 7.93 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-us1-prod

datadog-datadog-us1-prod 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: f1067e7 | Docs | View more details | Give us feedback!

@datadog-datadog-us1-prod datadog-datadog-us1-prod 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

Yarn automatically packs CHANGELOG.md, so allowing it in the files-field check addresses the reported release failure without changing package contents. The static reviewer identified no actionable defects.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit f1067e7

@thomas-lebeau
thomas-lebeau merged commit bc06843 into main Nov 27, 2026
31 checks passed
@thomas-lebeau
thomas-lebeau deleted the thomas-lebeau/RUM-19884-pack-changelog branch November 27, 2026 15:45
@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