Skip to content

ref(server-utils): Streamline redisIntegration - #23353

Open
mydea wants to merge 6 commits into
developfrom
fn/redis-integration
Open

ref(server-utils): Streamline redisIntegration#23353
mydea wants to merge 6 commits into
developfrom
fn/redis-integration

Conversation

@mydea

@mydea mydea commented Aug 12, 2026

Copy link
Copy Markdown
Member

This PR:

  • Upstreams all the redis, ioredis and cache stuff into server-utils
  • combines it into a singular redisIntegration
  • exports this and ensures it is used everywhere
  • Removes other redis exports we no longer need anywhere

In deno there is still denoRedisIntegration for backwards compat, but it is just an alias now.

Comment thread packages/deno/src/index.ts
@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.34 kB - -
@sentry/browser - with treeshaking flags 28.51 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.85 kB - -
@sentry/browser (incl. Tracing) 48.57 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.58 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.46 kB - -
@sentry/browser (incl. Tracing, Replay) 87.98 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.36 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.7 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.38 kB - -
@sentry/browser (incl. Feedback) 47.66 kB - -
@sentry/browser (incl. sendFeedback) 35.16 kB - -
@sentry/browser (incl. FeedbackAsync) 40.31 kB - -
@sentry/browser (incl. Metrics) 31.31 kB - -
@sentry/browser (incl. Logs) 31.58 kB - -
@sentry/browser (incl. Metrics & Logs) 32.25 kB - -
@sentry/react 32.13 kB - -
@sentry/react (incl. Tracing) 50.78 kB - -
@sentry/vue 35.36 kB - -
@sentry/vue (incl. Tracing) 50.53 kB - -
@sentry/svelte 30.37 kB - -
CDN Bundle 31.64 kB - -
CDN Bundle (incl. Tracing) 48.9 kB - -
CDN Bundle (incl. Logs, Metrics) 33.86 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.86 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 86.49 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.36 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.2 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.17 kB - -
CDN Bundle - uncompressed 93.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.81 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.61 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.28 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.07 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.85 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.77 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.54 kB - -
@sentry/nextjs (client) 53.3 kB - -
@sentry/sveltekit (client) 48.99 kB - -
@sentry/core/server 65.45 kB - -
@sentry/core/browser 51.81 kB - -
@sentry/node 117.76 kB -0.19% -224 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.1 kB - -
@sentry/aws-serverless 91.51 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 214.12 kB - -
@sentry/cloudflare (withSentry) 529.03 kB - -

View base workflow run

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6caae65. Configure here.

export const denoRedisIntegration = defineIntegration(_denoRedisIntegration) as (
options?: DenoRedisIntegrationOptions,
) => Integration & { name: 'DenoRedis'; setupOnce: () => void };
export { redisIntegration as denoRedisIntegration } from '@sentry/server-utils/orchestrion';

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing redis alias deprecation

Medium Severity

denoRedisIntegration lost its @deprecated notice and no longer matches the other Deno back-compat aliases (denoMysqlIntegration, denoPostgresIntegration, etc.). Flagged because the PR review rules call out public API changes without proper deprecation notices. The bare re-export also drops the JSDoc users rely on for migration to redisIntegration.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 6caae65. Configure here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

didn't have a deprecation notice before?

@mydea
mydea marked this pull request as ready for review August 12, 2026 13:56
@mydea
mydea requested review from a team as code owners August 12, 2026 13:56
@mydea
mydea requested review from JPeer264 and isaacs and removed request for a team August 12, 2026 13:56
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