Skip to content

feat(deno): redis diagnostics channel based integration for deno#21087

Open
isaacs wants to merge 2 commits into
developfrom
isaacs/deno-redis-dc
Open

feat(deno): redis diagnostics channel based integration for deno#21087
isaacs wants to merge 2 commits into
developfrom
isaacs/deno-redis-dc

Conversation

@isaacs
Copy link
Copy Markdown
Member

@isaacs isaacs commented May 20, 2026

Refactor the redis-dc integration logic into core/src/integrations, and create a Deno integration that uses the same patterns.

Instead of the @sentry/opentelemetry/tracing-channel, the Deno integration just adds _sentrySpan onto the data in a RedisTracingChannelFactory which is passed to the core utility.

@isaacs isaacs requested a review from a team as a code owner May 20, 2026 21:20
@isaacs isaacs requested review from andreiborza and mydea and removed request for a team May 20, 2026 21:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.31 kB - -
@sentry/browser - with treeshaking flags 25.73 kB - -
@sentry/browser (incl. Tracing) 45.31 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.53 kB - -
@sentry/browser (incl. Tracing, Profiling) 50.29 kB - -
@sentry/browser (incl. Tracing, Replay) 84.91 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.42 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 89.63 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.23 kB - -
@sentry/browser (incl. Feedback) 44.5 kB - -
@sentry/browser (incl. sendFeedback) 32.12 kB - -
@sentry/browser (incl. FeedbackAsync) 37.24 kB - -
@sentry/browser (incl. Metrics) 28.39 kB - -
@sentry/browser (incl. Logs) 28.62 kB - -
@sentry/browser (incl. Metrics & Logs) 29.32 kB - -
@sentry/react 29.04 kB - -
@sentry/react (incl. Tracing) 47.54 kB - -
@sentry/vue 32.23 kB - -
@sentry/vue (incl. Tracing) 47.16 kB - -
@sentry/svelte 27.34 kB - -
CDN Bundle 29.71 kB - -
CDN Bundle (incl. Tracing) 47.82 kB - -
CDN Bundle (incl. Logs, Metrics) 31.2 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.07 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.52 kB - -
CDN Bundle (incl. Tracing, Replay) 85.32 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.48 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.18 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.33 kB - -
CDN Bundle - uncompressed 87.78 kB - -
CDN Bundle (incl. Tracing) - uncompressed 144.25 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 92.27 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.01 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 217 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 263.03 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.77 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 276.73 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 280.46 kB - -
@sentry/nextjs (client) 50.02 kB - -
@sentry/sveltekit (client) 45.79 kB - -
@sentry/core/server 77.19 kB +1.18% +895 B 🔺
@sentry/core/browser 63.06 kB - -
@sentry/node-core 62.56 kB -0.01% -1 B 🔽
@sentry/node 164.92 kB +0.05% +69 B 🔺
@sentry/node - without tracing 75 kB - -
@sentry/aws-serverless 87.22 kB - -
@sentry/cloudflare (withSentry) - minified 172.96 kB - -
@sentry/cloudflare (withSentry) 432.13 kB - -

View base workflow run

)

Refactor the redis-dc integration logic into core/src/integrations, and
create a Deno integration that uses the same patterns.

Instead of the @sentry/opentelemetry/tracing-channel, the Deno
integration just adds `_sentrySpan` onto the data in a
RedisTracingChannelFactory which is passed to the core utility.

Add deno-redis e2e test.
@isaacs isaacs force-pushed the isaacs/deno-redis-dc branch from 1048f32 to 72be1fa Compare May 20, 2026 22:18
Copy link
Copy Markdown

@cursor cursor Bot left a comment

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 72be1fa. Configure here.

if: matrix.test-application == 'deno' || matrix.test-application == 'deno-streamed'
if:
matrix.test-application == 'deno' || matrix.test-application == 'deno-streamed' || matrix.test-application ==
'deno-redis'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

E2E CI uses outdated Deno version for deno-redis

High Severity

The E2E test job sets deno-version: v2.1.5 for deno-redis, but the denoRedisIntegration and the test app explicitly require Deno 2.7.13+ (as stated in the app comment at line 15 of app.ts). The unit test job was correctly updated to v2.7.14 at line 530, but the E2E test job was not. The deno-redis E2E tests will likely fail or produce incorrect results running on a Deno version that is too old.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 72be1fa. Configure here.

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