feat(deno): redis diagnostics channel based integration for deno#21087
feat(deno): redis diagnostics channel based integration for deno#21087isaacs wants to merge 1 commit into
Conversation
size-limit report 📦
|
) 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.
f176fd8 to
0fc320c
Compare
1048f32 to
72be1fa
Compare
) 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.
11525d8 to
a8d3cb7
Compare
8226aaf to
5863e6c
Compare
) 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.
5863e6c to
cd298fa
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cd298fa. Configure here.
| const budget = SERIALIZATION_SUBSETS.find(({ regex }) => regex.test(cmdName))?.args ?? 0; | ||
| const argsToSerialize: Array<string | number | unknown[]> = ( | ||
| budget >= 0 ? cmdArgs.slice(0, budget) : cmdArgs.slice() | ||
| ).map(a => (a instanceof Uint8Array ? '<binary>' : a)); |
There was a problem hiding this comment.
Buffer args become binary placeholder
Medium Severity
The new defaultDbStatementSerializer maps every Uint8Array argument to the literal <binary> in db.statement. On Node, Buffer is a Uint8Array subclass, so command arguments that used to appear as readable keys now show as <binary> instead of decoded text, unlike the prior vendored serializer used by the removed node DC subscriber.
Reviewed by Cursor Bugbot for commit cd298fa. Configure here.


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
_sentrySpanonto the data in a RedisTracingChannelFactory which is passed to the core utility.