Skip to content

ref(node): Remove the old node package #11322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 28, 2024
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Mar 27, 2024

This is not used anymore except in tests, so this PR actually removes the old node package!

A few tests are failing now, we should address them before v8 goes stable. For now I marked these to be skipped and added a comment there.

@mydea mydea requested review from lforst, AbhiPrasad and s1gr1d March 27, 2024 16:03
@mydea mydea self-assigned this Mar 27, 2024
test('Should populate and propagate sentry baggage if sentry-trace header does not exist', async () => {
// TODO(v8): Fix this test
// eslint-disable-next-line jest/no-disabled-tests
test.skip('Should populate and propagate sentry baggage if sentry-trace header does not exist', async () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

A bunch of the baggage tests are failing, no idea why - this would be good to investigate, maybe @AbhiPrasad you can look into it?

Copy link

codecov bot commented Mar 27, 2024

Bundle Report

Changes will decrease total bundle size by 172.1kB ⬇️

Bundle name Size Change
@sentry/types-cjs 35 bytes 0 bytes
@sentry/utils-cjs 178.75kB 0 bytes
@sentry-internal/feedback-cjs 65.56kB 0 bytes
@sentry-internal/integration-shims-cjs 3.65kB 0 bytes
@sentry/vercel-edge-esm 16.13kB 0 bytes
@sentry/types-esm 35 bytes 0 bytes
@sentry/vercel-edge-cjs 18.23kB 0 bytes
@sentry-internal/replay-cjs 306.35kB 0 bytes
@sentry/utils-esm 174.17kB 0 bytes
@sentry/opentelemetry-cjs 68.45kB 0 bytes
@sentry/node-esm 333.56kB 0 bytes
@sentry/node-cjs 336.97kB 0 bytes
@sentry-internal/replay-esm 306.46kB 0 bytes
@sentry/core-cjs 240.44kB 13 bytes ⬇️
@sentry-internal/tracing-cjs 108.01kB 0 bytes
@sentry-internal/replay-canvas-cjs 29.51kB 0 bytes
@sentry-internal/integration-shims-esm 2.99kB 0 bytes
@sentry/google-cloud-serverless-esm 19.16kB 0 bytes
@sentry-internal/node-integration-tests-cjs 1.04kB 0 bytes
@sentry/wasm-cjs 5.2kB 0 bytes
@sentry/browser-cjs 107.32kB 0 bytes
@sentry/core-esm 236.82kB 13 bytes ⬇️
@sentry/wasm-esm 4.85kB 0 bytes
@sentry/remix-cjs 53.62kB 0 bytes
@sentry/browser-esm 104.51kB 0 bytes
@sentry/gatsby-cjs 905 bytes 0 bytes
@sentry/aws-serverless-cjs 14.62kB 0 bytes
@sentry-internal/feedback-esm 65.28kB 0 bytes
@sentry/remix-esm 48.23kB 0 bytes
@sentry/nextjs-cjs 163.47kB 142.96kB ⬆️
@sentry/nextjs-esm 12.53kB 7.49kB ⬇️
@sentry-internal/replay-canvas-esm 29.43kB 0 bytes
@sentry/svelte-cjs 13.84kB 0 bytes
@sentry/svelte-esm 12.72kB 0 bytes
@sentry/gatsby-esm 385 bytes 0 bytes
@sentry/profiling-node-cjs 25.5kB 0 bytes
@sentry/opentelemetry-esm 67.4kB 0 bytes
@sentry/react-cjs 45.04kB 0 bytes
@sentry-internal/node-integration-tests-esm 888 bytes 0 bytes
@sentry-internal/tracing-esm 107.26kB 0 bytes
@sentry/sveltekit-esm 61.08kB 0 bytes
@sentry/profiling-node-esm 25.52kB 0 bytes
@sentry/bun-cjs 13.5kB 0 bytes
@sentry/react-esm 41.18kB 0 bytes
@sentry/astro-cjs 27.13kB 0 bytes
@sentry/vue-cjs 20.19kB 0 bytes
@sentry/astro-esm 23.39kB 0 bytes
@sentry/vue-esm 18.85kB 0 bytes
@sentry/google-cloud-serverless-cjs 23.0kB 0 bytes
@sentry/sveltekit-cjs 69.31kB 0 bytes
@sentry/bun-esm 10.05kB 0 bytes
@sentry/node-experimental-cjs (removed) 157.11kB ⬇️
@sentry/node-experimental-esm (removed) 150.43kB ⬇️

Copy link
Contributor

github-actions bot commented Mar 27, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) 80.46 KB (0%)
@sentry/browser (incl. Tracing, Replay) 71.8 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 75.62 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.36 KB (0%)
@sentry/browser (incl. Tracing) 36.62 KB (0%)
@sentry/browser (incl. browserTracingIntegration) 36.62 KB (0%)
@sentry/browser (incl. feedbackIntegration) 31.53 KB (0%)
@sentry/browser (incl. feedbackModalIntegration) 31.63 KB (0%)
@sentry/browser (incl. feedbackScreenshotIntegration) 31.64 KB (0%)
@sentry/browser (incl. sendFeedback) 27.59 KB (0%)
@sentry/browser 22.75 KB (0%)
CDN Bundle (incl. Tracing, Replay, Feedback) 74.9 KB (0%)
CDN Bundle (incl. Tracing, Replay) 69.73 KB (0%)
CDN Bundle (incl. Tracing) 36.27 KB (0%)
CDN Bundle 24.02 KB (0%)
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.81 KB (0%)
CDN Bundle (incl. Tracing) - uncompressed 109.46 KB (0%)
CDN Bundle - uncompressed 71.08 KB (0%)
@sentry/react (incl. Tracing, Replay) 71.78 KB (0%)
@sentry/react 22.78 KB (0%)

@mydea mydea force-pushed the fn/remove-node-experimental branch from 9b00933 to 342c8c5 Compare March 28, 2024 09:45
@mydea mydea merged commit 2389646 into develop Mar 28, 2024
@mydea mydea deleted the fn/remove-node-experimental branch March 28, 2024 10:23
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
This is not used anymore except in tests, so this PR actually removes
the old node package!

A few tests are failing now, we should address them before v8 goes
stable. For now I marked these to be skipped and added a comment there.
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