Skip to content

ref(server-utils): Small fastify cleanup#22385

Merged
mydea merged 2 commits into
developfrom
fn/fastify-cleanup
Jul 20, 2026
Merged

ref(server-utils): Small fastify cleanup#22385
mydea merged 2 commits into
developfrom
fn/fastify-cleanup

Conversation

@mydea

@mydea mydea commented Jul 20, 2026

Copy link
Copy Markdown
Member

Small cleanup in the fastify tracing-channel integration:

  • Pass _fastifyIntegration directly to defineIntegration instead of wrapping it in an extra arrow function that only forwards its options.
  • Mark INTEGRATION_NAME as const for a narrower type.

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

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2ad7a3e. Configure here.

@mydea mydea changed the title ref: Small fastify cleanup ref(server-utils): Small fastify cleanup Jul 20, 2026
@mydea
mydea marked this pull request as ready for review July 20, 2026 11:15
@mydea
mydea requested a review from a team as a code owner July 20, 2026 11:16
@mydea
mydea requested review from msonnb and stephanie-anderson and removed request for a team July 20, 2026 11:16
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.75 kB - -
@sentry/browser - with treeshaking flags 26.18 kB - -
@sentry/browser (incl. Tracing) 46.56 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.37 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.36 kB - -
@sentry/browser (incl. Tracing, Replay) 85.83 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.46 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.55 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.2 kB - -
@sentry/browser (incl. Feedback) 44.93 kB - -
@sentry/browser (incl. sendFeedback) 32.55 kB - -
@sentry/browser (incl. FeedbackAsync) 37.69 kB - -
@sentry/browser (incl. Metrics) 28.83 kB - -
@sentry/browser (incl. Logs) 29.05 kB - -
@sentry/browser (incl. Metrics & Logs) 29.76 kB - -
@sentry/react 29.54 kB - -
@sentry/react (incl. Tracing) 48.84 kB - -
@sentry/vue 33.17 kB - -
@sentry/vue (incl. Tracing) 48.52 kB - -
@sentry/svelte 27.78 kB - -
CDN Bundle 30.14 kB - -
CDN Bundle (incl. Tracing) 48.53 kB - -
CDN Bundle (incl. Logs, Metrics) 31.73 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.83 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.98 kB - -
CDN Bundle (incl. Tracing, Replay) 86.04 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.84 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 93.11 kB - -
CDN Bundle - uncompressed 89.88 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.73 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.59 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.71 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.32 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.94 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.9 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.64 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.6 kB - -
@sentry/nextjs (client) 51.36 kB - -
@sentry/sveltekit (client) 46.99 kB - -
@sentry/core/server 80.13 kB - -
@sentry/core/browser 66.56 kB - -
@sentry/node-core 63.21 kB +0.01% +1 B 🔺
@sentry/node 125.66 kB +0.01% +2 B 🔺
@sentry/node (incl. diagnostics channel injection) 149.41 kB -0.02% -19 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 70.03 kB -0.01% -2 B 🔽
@sentry/node/light 51.32 kB - -
@sentry/node - without tracing 74.92 kB +0.01% +1 B 🔺
@sentry/aws-serverless 84.15 kB - -
@sentry/cloudflare (withSentry) - minified 197.51 kB - -
@sentry/cloudflare (withSentry) 485.87 kB - -

View base workflow run

@mydea
mydea merged commit 4f455ee into develop Jul 20, 2026
222 of 223 checks passed
@mydea
mydea deleted the fn/fastify-cleanup branch July 20, 2026 11:49
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.

2 participants