Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
b188e0a
feat(react-router): Add support for React Router instrumentation API
onurtemizkan Dec 18, 2025
95721fc
Move instrumentation API functions to serverGlobals not to break hydr…
onurtemizkan Dec 19, 2025
fa71e6b
Update hydrogen server transaction tests with better parameterization
onurtemizkan Dec 19, 2025
75374f3
Address copilot review
onurtemizkan Dec 22, 2025
8281d63
Improve E2E test coverage
onurtemizkan Dec 23, 2025
7aa2d67
Use snake_case for span ops
onurtemizkan Dec 23, 2025
e3064e2
Move navigate hook flag inside client check
onurtemizkan Dec 23, 2025
23514b7
Move data inside `mechanism` object
onurtemizkan Dec 23, 2025
9b756ae
Merge remote-tracking branch 'origin/develop' into react-router-8-ins…
onurtemizkan Dec 29, 2025
0c84709
Prevent Framework Mode navigation span regression
onurtemizkan Dec 29, 2025
681eb3e
Enhance navigation with popstate listener and numeric navigation hand…
onurtemizkan Dec 30, 2025
1571025
Lint
onurtemizkan Dec 30, 2025
7c9148e
Set span status on request handler errors
onurtemizkan Dec 30, 2025
3ad323c
Merge branch 'develop' into react-router-8-instrumentation-api
onurtemizkan Dec 30, 2025
f1aab54
Clean up
onurtemizkan Jan 8, 2026
7ab179a
Move `captureInstrumentationError` calls inside error check blocks
onurtemizkan Jan 8, 2026
4cc4af8
Move error capture inside check
onurtemizkan Jan 8, 2026
46aee15
Merge branch 'develop' into react-router-8-instrumentation-api
onurtemizkan Jan 8, 2026
9cf02d8
Merge branch 'develop' into react-router-8-instrumentation-api
chargome Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move error capture inside check
  • Loading branch information
onurtemizkan committed Jan 8, 2026
commit 4cc4af8e83ad441b0a37d81b3b066087c54de0b7
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ export function createSentryClientInstrumentation(
// (navigation can be rejected before reload, e.g., by a navigation guard)
if (info.to === 0) {
const result = await callNavigate();
captureInstrumentationError(result, captureErrors, 'react_router.navigate', {
'http.url': info.currentUrl,
});
if (result.status === 'error' && result.error instanceof Error) {
captureInstrumentationError(result, captureErrors, 'react_router.navigate', {
'http.url': info.currentUrl,
});
}
return;
}
Comment thread
cursor[bot] marked this conversation as resolved.

Expand Down
Loading