Skip to content

fix(deps): bump @sentry/node 8.49.0 -> 10.75.3 (ENG-21009) - #261

Merged
convyusboy merged 1 commit into
boonfrom
ridho/eng-21009-sentry-node-v10
Oct 2, 2026
Merged

convyusboy merged 1 commit into
boonfrom
ridho/eng-21009-sentry-node-v10

Conversation

@convyusboy

@convyusboy convyusboy commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

ENG-21009 (Vanta AWS Inspector): @sentry/[email protected] exact-pins 31 stale @opentelemetry/* packages ([email protected], [email protected], [email protected], ...) plus a dead-weight @prisma/[email protected], none of which openclaw's own workspace otel overrides can reach — these account for most of the ~12 medium-severity Inspector findings on the fleet AMI tied to this dependency.

Why This Change Was Made

@sentry/[email protected] has only 9 dependencies with no pinned otel majors (@opentelemetry/instrumentation: ^0.220.0, sdk-trace-base: ^2.9.0) and no transitive @prisma/instrumentation. An override can't fix this — Sentry 8.49 exact-pins most of these, so forcing a bump would break peer ranges; the only real fix is the major bump.

extensions/sentry-monitor's entire Sentry surface (Sentry.init, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, linkedErrorsIntegration, contextLinesIntegration, setTags, close, captureException, captureMessage) has no breaking change across v8→v9→v10 per the official Sentry JS migration guides. Verified directly against the installed v10.75.3 package (not just types): all 9 exports exist as functions, and the three integrations' option shapes (exitEvenIfOtherHandlersAreRegistered, mode, key, limit) are byte-identical in the real v10.75.3 source. anychat-boon-web already runs @sentry/node ^10.70.0 in production.

Also dropped the now-dead "@opentelemetry/propagator-jaeger": 2.9.0 override from pnpm-workspace.yaml — confirmed nothing in the tree resolves it as a package with or without the override (a stale security-audit pin for a transitive dep no longer in the graph). Kept the sibling "@opentelemetry/core": 2.9.0 override: it's still load-bearing for openclaw's own direct otel exporter stack (unrelated to Sentry), which resolves the vulnerable [email protected] without it.

User Impact

No behavior change for operators — Sentry capture/dispatch behavior is unchanged (dispatch.ts is structurally typed against a minimal client interface and is version-agnostic by construction). Reduces Inspector medium findings on the next fleet AMI bake + release (tracked separately: this PR covers the dependency fix only, not the release cut or AMI pin bump — see ENG-21009).

Evidence

  • pnpm test extensions/sentry-monitor — 103/103 passed
  • pnpm tsgo (core) and pnpm tsgo:extensions — both clean
  • pnpm deps:shrinkwrap:root:check — current
  • node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high — no high/critical advisories
  • pnpm build — clean, no [INEFFECTIVE_DYNAMIC_IMPORT]
  • Post-install lockfile check: zero @opentelemetry/instrumentation-* stale packages, no @prisma/instrumentation, single @opentelemetry/[email protected], single @sentry/[email protected]
  • Runtime check against the installed v10.75.3 package confirming all 9 exports + 3 integration option shapes register.ts depends on are unchanged

🤖 Generated with Claude Code


Summary by cubic

Bumps @sentry/node from 8.49.0 to 10.75.3 in extensions/sentry-monitor (ENG-21009), clearing ~12 medium-severity Vanta/AWS Inspector findings caused by Sentry 8.49's exact-pinned stale @opentelemetry/* and @prisma/instrumentation packages.

Dependencies

  • The major bump is the only fix: an override would break the exact-pinned peer ranges in Sentry 8.49.
  • All 9 Sentry exports and 3 integration option shapes used by the extension are unchanged across v8→v10, verified against the installed package.
  • No behavior change for operators; anychat-boon-web already runs @sentry/node ^10.70.0 in production.
  • Dropped the dead @opentelemetry/propagator-jaeger override while keeping @opentelemetry/core 2.9.0, which resolves the vulnerable [email protected] for the exporter stack.

Written for commit d362d08. Summary will update on new commits.

Review in cubic

Clears ~12 medium Vanta/AWS-Inspector findings: @sentry/node 8.49.0 exact-pins
31 stale @opentelemetry/* packages (instrumentation 0.56.0, sdk-trace-base
1.30.1, api-logs 0.53.0, ...) plus @prisma/instrumentation 5.22.0, none of
which the workspace's own otel pins can reach. @sentry/node 10.75.3 has only
9 dependencies with no pinned otel majors (@opentelemetry/instrumentation
^0.220.0, sdk-trace-base ^2.9.0) and no transitive @prisma/instrumentation.

Also drop the now-unused "@opentelemetry/propagator-jaeger": 2.9.0 override
from pnpm-workspace.yaml -- confirmed nothing in the tree resolves it as a
package with or without the override (it was a security-audit pin for a
transitive dep that no longer exists in the graph). The sibling
"@opentelemetry/core": 2.9.0 override stays: it is still load-bearing for
openclaw's own direct otel exporter stack (exporter-*-otlp-proto 0.219.0,
sdk-logs/sdk-metrics/sdk-trace-base 2.8.0), unrelated to Sentry, which
resolves the vulnerable [email protected] without it.

extensions/sentry-monitor's whole Sentry surface (Sentry.init,
onUncaughtExceptionIntegration, onUnhandledRejectionIntegration,
linkedErrorsIntegration, contextLinesIntegration, setTags, close,
captureException, captureMessage) has no breaking change across v8->v9->v10
per the Sentry JS migration guides. Verified directly against the installed
v10.75.3 package: all 9 exports exist as functions, and
onUncaughtExceptionIntegration/onUnhandledRejectionIntegration/
linkedErrorsIntegration's option shapes (exitEvenIfOtherHandlersAreRegistered,
mode, key, limit) are unchanged in the real v10.75.3 source.
anychat-boon-web already runs @sentry/node ^10.70.0 in production.

Verified: pnpm test extensions/sentry-monitor (103/103), pnpm tsgo (core +
extensions), pnpm deps:shrinkwrap:root:check, pnpm-audit-prod.mjs
--audit-level=high (clean), pnpm build (no INEFFECTIVE_DYNAMIC_IMPORT).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@convyusboy
convyusboy requested a review from a team October 2, 2026 04:06
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/sentry-monitor/package.json
  • npm-shrinkwrap.json
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: d362d08e2a00d27a0bda38c38dbd2f7a7eb942e1
  • Trusted actor: @convyusboy
  • Trusted role: pull request author; repository admin

Security review is still recommended before merge when the dependency graph change is intentional.

@boon-hermes-bot boon-hermes-bot 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.

Security review (Sentry/node 8.49.0 -> 10.75.3, ENG-21009):

  • Changed files: extensions/sentry-monitor/package.json, root package.json, pnpm-workspace.yaml, pnpm-lock.yaml, npm-shrinkwrap.json. Manifests + lockfiles only, no application code.
  • Manifest pins match the PR body: @sentry/node 10.75.3 in both extension and root package.json; pnpm-workspace.yaml drops only the dead @opentelemetry/propagator-jaeger override and keeps @opentelemetry/core 2.9.0, as stated.
  • Lockfile/shrinkwrap diff scan: version/hash/spec churn only. Removed tree is the stale otel 0.56/1.30 + @prisma/instrumentation stack the body describes; added packages are @sentry/core, @sentry/node-core, @sentry/opentelemetry, @sentry/server-utils, @sentry/conventions (all @sentry scope) plus instrumentation-ecosystem deps (import-in-the-middle ^3, require-in-the-middle ^8, cjs-module-lexer, es-module-lexer, module-details-from-path). No git/URL deps, no hosts other than registry.npmjs.org.
  • Registry vetting: @sentry/[email protected] npm metadata confirms the exact 9-dependency shape claimed in the body (no pinned otel majors, no @prisma/instrumentation) and that all new @sentry/* packages are real deps of the upstream package.
  • Watch item (non-blocking): this is a major jump 8 -> 10. Mitigations are documented in the body (API surface verified against installed package, anychat-boon-web already runs ^10.70.0 in prod, 103/103 extension tests).
  • CI at head d362d08: 109 check-runs success, 0 failures; no legacy commit statuses.

Approved at head d362d08. Note: this is a bot review; if branch protection requires a human approver, one more human approval may still be needed to merge.

@convyusboy
convyusboy merged commit b9e4432 into boon Oct 2, 2026
123 checks passed
@convyusboy
convyusboy deleted the ridho/eng-21009-sentry-node-v10 branch October 2, 2026 07:21
convyusboy added a commit that referenced this pull request Oct 2, 2026
…263)

Root version, 135 plugin manifests synced via scripts/sync-plugin-versions.ts
(pnpm plugins:sync), root + 68 extension npm-shrinkwrap.json version fields
and openclaw peerDependency ranges bumped, CHANGELOG section for boon.49.

Shipping: #246 (tool-result aggregate budget scales with context window
instead of a fixed 256k-char cap, so long tool-heavy sessions stop reading
their own successful calls as failures and compaction actually fires on real
pressure), #253/ENG-20866 (Chrome MCP handshake/navigate timeouts raised for
real npx cold-start cost, unblocking browser-handoff live attach), #256/
ENG-20876 (session_id promoted to a real Sentry tag for the per-session
reliability dashboard), #260/ENG-20968 (msteams SharePoint/OneDrive download
failures surfaced through MediaFailures instead of silently dropped), #261/
ENG-21009 (Sentry node 8.49 -> 10.75.3, clearing ~12 medium Vanta/Inspector
findings from its pinned otel/Prisma instrumentation chain), plus undici/
brace-expansion/axios security bumps and markdown-it/dompurify/golang.org/x/net
dependency bumps.

Base = 2026.6.11-boon.48. Gateway plus @openclaw/slack, @openclaw/msteams and
@openclaw/diagnostics-prometheus bumped in lockstep; only @openclaw/msteams
source changed in this train (#260), so a fleet-msteams.sh pass is needed on
Teams hosts alongside the gateway roll.

Co-authored-by: Claude Sonnet 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants