Skip to content

ref(node): Drop eslint-ignores and oxlint exemption in generic-pool instrumentation#21435

Merged
nicohrubec merged 2 commits into
developfrom
nh/streamline-generic-pool-lint-cleanup
Jun 10, 2026
Merged

ref(node): Drop eslint-ignores and oxlint exemption in generic-pool instrumentation#21435
nicohrubec merged 2 commits into
developfrom
nh/streamline-generic-pool-lint-cleanup

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Jun 10, 2026

Copy link
Copy Markdown
Member

Follow-up to the vendored-instrumentation streamlining removing some eslint ignores and the oxlint exemption.

nicohrubec and others added 2 commits June 10, 2026 12:33
Type the one remaining `any` (the vendored Pool index signature) as `unknown`
and remove generic-pool from the no-explicit-any override in .oxlintrc.base.json.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the three `const instrumentation = this` aliases with captured
tracer/bound methods/an arrow over the live `_isDisabled` flag, so no
eslint-disable is needed. Only true false-positives keep suppressions.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicohrubec nicohrubec changed the title ref(node): Drop generic-pool no-explicit-any lint exemption ref(node): Drop eslint-ignores and oxlint exemption in generic-pool instrumentation Jun 10, 2026
@nicohrubec nicohrubec marked this pull request as ready for review June 10, 2026 10:48
@nicohrubec nicohrubec requested a review from a team as a code owner June 10, 2026 10:48
@nicohrubec nicohrubec requested review from JPeer264 and andreiborza and removed request for a team June 10, 2026 10:48

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

Nice

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.39 kB - -
@sentry/browser - with treeshaking flags 25.82 kB - -
@sentry/browser (incl. Tracing) 45.68 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.92 kB - -
@sentry/browser (incl. Tracing, Profiling) 50.48 kB - -
@sentry/browser (incl. Tracing, Replay) 84.9 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.51 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 89.6 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.28 kB - -
@sentry/browser (incl. Feedback) 44.55 kB - -
@sentry/browser (incl. sendFeedback) 32.19 kB - -
@sentry/browser (incl. FeedbackAsync) 37.3 kB - -
@sentry/browser (incl. Metrics) 28.46 kB - -
@sentry/browser (incl. Logs) 28.69 kB - -
@sentry/browser (incl. Metrics & Logs) 29.39 kB - -
@sentry/react 29.18 kB - -
@sentry/react (incl. Tracing) 47.98 kB - -
@sentry/vue 32.4 kB - -
@sentry/vue (incl. Tracing) 47.57 kB - -
@sentry/svelte 27.41 kB - -
CDN Bundle 29.78 kB - -
CDN Bundle (incl. Tracing) 48.16 kB - -
CDN Bundle (incl. Logs, Metrics) 31.32 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.48 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.61 kB - -
CDN Bundle (incl. Tracing, Replay) 85.51 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.75 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.6 kB - -
CDN Bundle - uncompressed 88.46 kB - -
CDN Bundle (incl. Tracing) - uncompressed 145.67 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 93.17 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 149.65 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 217.99 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.54 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 268.5 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.19 kB - -
@sentry/nextjs (client) 50.43 kB - -
@sentry/sveltekit (client) 46.1 kB - -
@sentry/core/server 76.01 kB - -
@sentry/core/browser 63.14 kB - -
@sentry/node-core 61.73 kB +0.01% +3 B 🔺
@sentry/node 130.44 kB +0.03% +36 B 🔺
@sentry/node - without tracing 74.11 kB - -
@sentry/aws-serverless 86.29 kB - -
@sentry/cloudflare (withSentry) - minified 173.69 kB - -
@sentry/cloudflare (withSentry) 433.85 kB - -

View base workflow run

@nicohrubec nicohrubec merged commit 4278bed into develop Jun 10, 2026
271 of 272 checks passed
@nicohrubec nicohrubec deleted the nh/streamline-generic-pool-lint-cleanup branch June 10, 2026 11:08
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