Title: Improve Redirect detection · Issue #17282 · getsentry/sentry-javascript · GitHub
Open Graph Title: Improve Redirect detection · Issue #17282 · getsentry/sentry-javascript
X Title: Improve Redirect detection · Issue #17282 · getsentry/sentry-javascript
Description: Description Our current redirection detection approach works in some cases but it fails in others, for example in the Sentry frontend (oh the irony 😅) Some ideas to improve the detector: apply it generally to anyone calling startBrowserT...
Open Graph Description: Description Our current redirection detection approach works in some cases but it fails in others, for example in the Sentry frontend (oh the irony 😅) Some ideas to improve the detector: apply it g...
X Description: Description Our current redirection detection approach works in some cases but it fails in others, for example in the Sentry frontend (oh the irony 😅) Some ideas to improve the detector: apply it g...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/17282
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve Redirect detection","articleBody":"### Description\n\nOur current redirection detection approach works in some cases but it fails in others, for example in the Sentry frontend (oh the irony 😅)\n\nSome ideas to improve the detector:\n\n* apply it generally to anyone calling `startBrowserTracingNavigationSpan`. Right now, we only apply redirect detection to the default browserTracingIntegration and any derivateives that rely on the default behaviour. Since in Sentry we use the React Router browserTracingIntegration, the logic is not applied.\n* Increase time thresholds in general. 300ms is very short, especially for the first pageload\n* Reset `lastInteractionTimestamp` when starting a new navigation *root* span. Previous interactions should not matter for subsequent navigations/redirects.\n* Add separate time thresholds for\n * pageload -> 1st navigation: A pageload likely takes some time for the router to initialize and potentially redirect. 300ms is *very* short here.\n * navigation -> navigation: Here the time window likely doesn't need to be too long. 300ms is likely enough.\n * For now, we can increase the threshold in general and re-evaluate if we get false positives for the navigation -> navigation case.","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2025-08-01T10:34:18Z","url":"https://github.com/getsentry/sentry-javascript/issues/17282"}
| 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:2561892a-2765-7c92-7cbe-3fd405d6d197 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A41C:1020DA:BDDE1E:103E53A:6B05BA3B |
| html-safe-nonce | e4d5cd2159f7b3046ec37a3ef6825df39ae555fb326348dc637e42f47ccd0dd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDFDOjEwMjBEQTpCRERFMUU6MTAzRTUzQTo2QjA1QkEzQiIsInZpc2l0b3JfaWQiOiIxMTMwMDU2MDE5NjQxNDgxNzg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | be6c64030c2c641d7b3f8a50950567acf65e67087af4cbd572711b8e84003767 |
| hovercard-subject-tag | issue:3283429115 |
| 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/17282/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68d71de8b6cac6ae47b2b0eb9639899afe1d81af5848aba8e8b5ba479abe8fff/getsentry/sentry-javascript/issues/17282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68d71de8b6cac6ae47b2b0eb9639899afe1d81af5848aba8e8b5ba479abe8fff/getsentry/sentry-javascript/issues/17282 |
| og:image:alt | Description Our current redirection detection approach works in some cases but it fails in others, for example in the Sentry frontend (oh the irony 😅) Some ideas to improve the detector: apply it g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 708c2f10d746dbcf1dd80dc8309daa7d595df3fce8066244380fc3238618f09c |
| 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 | 2a29e3cf4fb57e81fd311774f91f345cc4436f40 |
| 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