Skip to content
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

debug(replay): Disregard replay duration for buffer mode #13923

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Oct 9, 2024

This is not intended to be merged for now, I would like to debug how/why errors are occurring so far disconnected from the snapshot checkout times.

Copy link
Contributor

github-actions bot commented Oct 9, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.73 KB - -
@sentry/browser - with treeshaking flags 21.53 KB - -
@sentry/browser (incl. Tracing) 34.97 KB - -
@sentry/browser (incl. Tracing, Replay) 71.66 KB +0.06% +44 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.07 KB +0.08% +46 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 76.01 KB +0.06% +43 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 88.77 KB +0.05% +41 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.63 KB +0.04% +36 B 🔺
@sentry/browser (incl. metrics) 27 KB - -
@sentry/browser (incl. Feedback) 39.87 KB - -
@sentry/browser (incl. sendFeedback) 27.38 KB - -
@sentry/browser (incl. FeedbackAsync) 32.17 KB - -
@sentry/react 25.49 KB - -
@sentry/react (incl. Tracing) 37.94 KB - -
@sentry/vue 26.9 KB - -
@sentry/vue (incl. Tracing) 36.86 KB - -
@sentry/svelte 22.87 KB - -
CDN Bundle 24.05 KB - -
CDN Bundle (incl. Tracing) 36.76 KB - -
CDN Bundle (incl. Tracing, Replay) 71.41 KB +0.05% +30 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 76.73 KB +0.04% +29 B 🔺
CDN Bundle - uncompressed 70.53 KB - -
CDN Bundle (incl. Tracing) - uncompressed 109.04 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 221.47 KB +0.04% +70 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 234.69 KB +0.03% +70 B 🔺
@sentry/nextjs (client) 37.91 KB - -
@sentry/sveltekit (client) 35.56 KB - -
@sentry/node 124.5 KB -0.01% -1 B 🔽
@sentry/node - without tracing 93.64 KB - -
@sentry/aws-serverless 103.3 KB - -

View base workflow run

This is not intended to be merged for now, I would like to debug how/why errors are occurring so far disconnected from the snapshot checkout times.
@billyvg billyvg force-pushed the debug-replay-disregard-replay-duration-for-buffer-mode branch from a8f60e0 to a8ad9a5 Compare October 9, 2024 17:30
@billyvg billyvg marked this pull request as ready for review October 9, 2024 18:32
@billyvg billyvg requested a review from a team as a code owner October 9, 2024 18:32

// XXX: disregard durations for buffer mode for debug purposes
if (this.recordingMode !== 'buffer') {
return;
Copy link
Member Author

Choose a reason for hiding this comment

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

We only return (and not continue flushing) if in session mode and replay is too long or too short, otherwise setTag and continue flushing (for debugging purposes).

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