Skip to content

chore(deps): remove @datadog/pprof from core#880

Merged
kriszyp merged 1 commit into
mainfrom
kris/remove-pprof-dep
May 30, 2026
Merged

chore(deps): remove @datadog/pprof from core#880
kriszyp merged 1 commit into
mainfrom
kris/remove-pprof-dep

Conversation

@kriszyp
Copy link
Copy Markdown
Member

@kriszyp kriszyp commented May 30, 2026

Summary

  • @datadog/pprof is only consumed by analytics/profile.ts, which lives in harper-pro, not in core. Core has no direct import/require of it (only stale comments in test utils that guard against its native-build errors).
  • Removes @datadog/pprof from core's direct dependencies in package.json and the top-level lockfile entry.
  • It remains in package-lock.json only as a transitive dev/peer dependency of the published harper package, which is expected.

Why

  • pprof is being managed as a harper-pro-only dependency. Keeping it in core caused the core:sync job in harper-pro to overwrite/downgrade harper-pro's pinned pprof version on every sync.

Companion change

Test plan

  • CI green (core builds and tests without the direct pprof dependency).

🤖 Generated with Claude Code

@datadog/pprof is only used by analytics/profile.ts, which lives in
harper-pro, not core. Core has no direct import of it, so drop it from
core's dependencies. It remains in the lockfile only as a transitive
dev/peer dependency of the published `harper` package.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the @datadog/pprof package from the production dependencies in package.json and updates its classification, along with its sub-dependencies, to development and peer dependencies in package-lock.json. There are no review comments, so I have no feedback to provide.

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 30, 2026

Reviewed; no blockers found.

@kriszyp
Copy link
Copy Markdown
Member Author

kriszyp commented May 30, 2026

Syncing core on pro is kinda broken due to conflicting datadog versions, so fixing that.

@kriszyp kriszyp merged commit 04c388f into main May 30, 2026
37 of 41 checks passed
@kriszyp kriszyp deleted the kris/remove-pprof-dep branch May 30, 2026 13:59
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.

1 participant