Skip to content

feat(deno): add tedious integration - #22451

Merged
isaacs merged 1 commit into
isaacs/deno-orchestrion-integrations-mysql2from
isaacs/deno-orchestrion-integrations-tedious
Jul 24, 2026
Merged

feat(deno): add tedious integration#22451
isaacs merged 1 commit into
isaacs/deno-orchestrion-integrations-mysql2from
isaacs/deno-orchestrion-integrations-tedious

Conversation

@isaacs

@isaacs isaacs commented Jul 21, 2026

Copy link
Copy Markdown
Member

No description provided.

@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 0ec660a to e5c344f Compare July 21, 2026 17:45
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch 2 times, most recently from f60042f to 2c56d4d Compare July 21, 2026 18:04
@isaacs
isaacs marked this pull request as ready for review July 21, 2026 18:05
@isaacs
isaacs requested a review from a team as a code owner July 21, 2026 18:05
@isaacs
isaacs requested review from JPeer264 and andreiborza and removed request for a team July 21, 2026 18:05
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 2c56d4d to 25fba03 Compare July 21, 2026 18:20
@isaacs
isaacs requested review from a team as code owners July 21, 2026 18:20
@isaacs
isaacs requested review from chargome, logaretm, msonnb and nicohrubec and removed request for a team July 21, 2026 18:20
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 25fba03 to f1886be Compare July 21, 2026 19:36
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from f1886be to 12e9157 Compare July 21, 2026 19:49
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 12e9157 to a0c07d1 Compare July 21, 2026 21:43
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from a0c07d1 to efce2ee Compare July 22, 2026 00:51

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Actually exciting not tedious 🥳

@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from efce2ee to cb45771 Compare July 22, 2026 14:42
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from cb45771 to 9cd5508 Compare July 22, 2026 22:02
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.79 kB - -
@sentry/browser - with treeshaking flags 26.23 kB - -
@sentry/browser (incl. Tracing) 46.31 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.06 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.12 kB - -
@sentry/browser (incl. Tracing, Replay) 85.59 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.23 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.29 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.97 kB - -
@sentry/browser (incl. Feedback) 44.96 kB - -
@sentry/browser (incl. sendFeedback) 32.59 kB - -
@sentry/browser (incl. FeedbackAsync) 37.64 kB - -
@sentry/browser (incl. Metrics) 28.88 kB - -
@sentry/browser (incl. Logs) 29.11 kB - -
@sentry/browser (incl. Metrics & Logs) 29.8 kB - -
@sentry/react 29.59 kB - -
@sentry/react (incl. Tracing) 48.6 kB - -
@sentry/vue 33.22 kB - -
@sentry/vue (incl. Tracing) 48.28 kB - -
@sentry/svelte 27.81 kB - -
CDN Bundle 30.11 kB - -
CDN Bundle (incl. Tracing) 48.14 kB - -
CDN Bundle (incl. Logs, Metrics) 31.69 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.47 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.95 kB - -
CDN Bundle (incl. Tracing, Replay) 85.72 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.49 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.78 kB - -
CDN Bundle - uncompressed 89.77 kB - -
CDN Bundle (incl. Tracing) - uncompressed 144.84 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.48 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.82 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.24 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.08 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 268.04 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 277.78 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 281.74 kB - -
@sentry/nextjs (client) 51.13 kB - -
@sentry/sveltekit (client) 46.75 kB - -
@sentry/core/server 79.92 kB - -
@sentry/core/browser 51.9 kB - -
@sentry/node 124.4 kB - -
@sentry/node (incl. diagnostics channel injection) 168.41 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B - -
@sentry/node - without tracing 74.66 kB +0.01% +1 B 🔺
@sentry/aws-serverless 84.13 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 196.61 kB - -
@sentry/cloudflare (withSentry) 482.97 kB - -

View base workflow run

@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 9cd5508 to 022db22 Compare July 23, 2026 14:29
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 022db22 to 4fc8165 Compare July 23, 2026 18:10
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 4fc8165 to 99b4efc Compare July 23, 2026 20:46
Comment on lines +58 to +62
Deno.test('tedious instrumentation: included in default integrations (Deno 2.8.0+)', () => {
resetGlobals();
const client = init({ dsn: 'https://username@domain/123' }) as DenoClient;
const names = client.getOptions().integrations.map(i => i.name);
assert(names.includes('Tedious'), `Tedious should be in defaults, got ${names.join(', ')}`);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Bug: The Tedious integration test will fail on Deno < 2.8.0 because it lacks a conditional ignore flag, while the integration itself is version-dependent.
Severity: MEDIUM

Suggested Fix

Add a conditional ignore property to the Deno.test object, making it dependent on the MODULE_REGISTER_HOOKS_SUPPORTED constant. This will ensure the test is skipped on Deno versions where the feature is not supported, aligning it with the pattern used in other version-gated tests like in deno-http.test.ts.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: dev-packages/deno-integration-tests/suites/orchestrion-tedious/test.ts#L58-L62

Potential issue: The test 'tedious instrumentation: included in default integrations
(Deno 2.8.0+)' unconditionally asserts that the 'Tedious' integration is present.
However, the integration itself is only added if the `MODULE_REGISTER_HOOKS_SUPPORTED`
flag is true, which corresponds to Deno versions 2.8.0 and newer. The test lacks a
conditional `ignore` property to prevent it from running on older Deno versions. As a
result, any CI or test environment running on Deno < 2.8.0 will experience a test
failure because the assertion will fail when the integration is not found.

@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 99b4efc to 9f68974 Compare July 23, 2026 21:19
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from 9f68974 to da8bc8f Compare July 23, 2026 22:45
@isaacs
isaacs force-pushed the isaacs/deno-orchestrion-integrations-tedious branch from da8bc8f to 04939c9 Compare July 23, 2026 22:47
@isaacs
isaacs merged commit 83afe71 into develop Jul 24, 2026
60 checks passed
@isaacs
isaacs deleted the isaacs/deno-orchestrion-integrations-tedious branch July 24, 2026 01:22
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.

4 participants