Skip to content

chore: migrate to base datadog-ci package#699

Merged
ava-silver merged 2 commits intomainfrom
ava.silver/chore/migrate-to-base-datadog-ci-package
Apr 24, 2026
Merged

chore: migrate to base datadog-ci package#699
ava-silver merged 2 commits intomainfrom
ava.silver/chore/migrate-to-base-datadog-ci-package

Conversation

@ava-silver
Copy link
Copy Markdown
Contributor

@ava-silver ava-silver commented Apr 24, 2026

What does this PR do?

Replaces the @datadog/datadog-ci dependency with @datadog/datadog-ci-base, which is the lighter-weight core package without the full CLI and all plugins bundled in.

Motivation

@datadog/datadog-ci is a large package (~75 MB unpacked including all plugins). We only use two functions from it (getGitCommitInfo and uploadGitCommitHash), both of which are available in @datadog/datadog-ci-base. Switching reduces the @datadog portion of node_modules from 75 MB → 7.2 MB (~90% reduction).

Testing Guidelines

Existing tests cover the git metadata upload path. No behavior changes.

Additional Notes

The plugin's own published package size is unchanged (66.4 kB packed) since dependencies are not bundled. The reduction is in install footprint for consumers.

Types of changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog

Copy link
Copy Markdown
Contributor Author

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

@ava-silver ava-silver marked this pull request as ready for review April 24, 2026 15:03
@ava-silver ava-silver requested a review from a team as a code owner April 24, 2026 15:03
@ava-silver ava-silver requested a review from nina9753 April 24, 2026 15:03
@ava-silver ava-silver marked this pull request as draft April 24, 2026 15:04
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.69%. Comparing base (62004bb) to head (e53d975).

Files with missing lines Patch % Lines
src/index.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #699      +/-   ##
==========================================
- Coverage   78.14%   77.69%   -0.45%     
==========================================
  Files          12       12              
  Lines        1112     1112              
  Branches      350      350              
==========================================
- Hits          869      864       -5     
- Misses        113      118       +5     
  Partials      130      130              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ava-silver ava-silver marked this pull request as ready for review April 24, 2026 15:10
@ava-silver ava-silver requested a review from TalUsvyatsky April 24, 2026 15:11
@ava-silver ava-silver merged commit 2e6b6ba into main Apr 24, 2026
7 checks passed
@ava-silver ava-silver deleted the ava.silver/chore/migrate-to-base-datadog-ci-package branch April 24, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants