Title: Replays from user feedback not including 30s before the widget is opened · Issue #16541 · getsentry/sentry-javascript · GitHub
Open Graph Title: Replays from user feedback not including 30s before the widget is opened · Issue #16541 · getsentry/sentry-javascript
X Title: Replays from user feedback not including 30s before the widget is opened · Issue #16541 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/16541
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replays from user feedback not including 30s before the widget is opened","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/react\n\n### SDK Version\n\n9.28.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://dev-curumas.sentry.io/explore/replays/84e1fccb2d8a4dbcb912f611a2c973c6/?referrer=%2Fissues%2Ffeedback%2F&t=0&t_main=breadcrumbs\n\n### Reproduction Example/SDK Setup\n\n```javascript\nSentry.init({\n dsn: \"__MY_DSN__\",\n integrations: [\n Sentry.reactRouterV5BrowserTracingIntegration({ history, heartbeatInterval:8000 }),\n Sentry.replayIntegration({\n maskAllText: false,\n _experiments:{\n recordCrossOriginIframes: true\n }\n }),\n Sentry.feedbackIntegration({\n // Additional SDK configuration goes in here, for example:\n colorScheme: \"system\",\n includeReplay: true\n }),\n ],\n replaysOnErrorSampleRate: 1.0,\n sendDefaultPii: true,\n });\n```\n\n### Steps to Reproduce\n\n1. Open the page with the feedback widget.\n2. Do something on the page for 30s or more\n3. Open the widget.\n4. Wait for some time before sending the feedback\n\n### Expected Result\n\nThe replay will contain 30s before the feedback widget is opened as [mentioned here](https://docs.sentry.io/platforms/javascript/guides/react/user-feedback/#session-replay):\n>First, make sure that the Session Replay integration is configured correctly and that replaysOnErrorSampleRate is greater than 0. When this is done, the Replay SDK will buffer up to 30 seconds of the user's session until the user opens the User Feedback widget.\n\n\n\n### Actual Result\n\nThe replays start with the widget already opened.\nhttps://dev-curumas.sentry.io/explore/replays/84e1fccb2d8a4dbcb912f611a2c973c6/?referrer=%2Fissues%2Ffeedback%2F&t=0&t_main=breadcrumbs\n\nMore examples were reported by a user in this [internal ticket.](https://sentry.zendesk.com/agent/tickets/154853)","author":{"url":"https://github.com/rodolfoBee","@type":"Person","name":"rodolfoBee"},"datePublished":"2025-06-11T07:17:42Z","url":"https://github.com/getsentry/sentry-javascript/issues/16541"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3e7f565-abeb-be8e-a9bd-8c374b5b2c14 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E1C:69B89:272082:35A021:6B05D6D4 |
| html-safe-nonce | acfb5ad5737da3174e8569491f0ac2e81426de77afae832da8653b921ae72fe3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTFDOjY5Qjg5OjI3MjA4MjozNUEwMjE6NkIwNUQ2RDQiLCJ2aXNpdG9yX2lkIjoiNTk2NzY5ODk3ODAwMTI4MjEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 443298ca59eead9b09da68cde0f05c1760570db701a31c5c2123bad6fc6a8e4e |
| hovercard-subject-tag | issue:3135760019 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/16541/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f5c496288df498b0b86c05942307357b7b6750d84e1985edf5453256710c330e/getsentry/sentry-javascript/issues/16541 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f5c496288df498b0b86c05942307357b7b6750d84e1985edf5453256710c330e/getsentry/sentry-javascript/issues/16541 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rodolfoBee |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7cc8361bc0396e5c33704280422dd7a38c5b91f6190589faea57461f56967249 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab4da203740f827015a12d36851c8de196e908bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width