Skip to content

fix: prevent race condition when span count approaches the 1000-span …

4a1d0ec
Select commit
Loading
Failed to load commit list.
Open

feat: Automatic trace instrumentation for MAUI #5138

fix: prevent race condition when span count approaches the 1000-span …
4a1d0ec
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed May 13, 2026 in 7m 47s

1 issue

find-bugs: Found 1 issue (1 low)

Low

Cancelled Shell navigation finished as Ok - `src/Sentry.Maui/Internal/MauiEventsBinder.cs:569-573`

If a Shell navigation is cancelled (via ShellNavigatingEventArgs.Cancel() or fails before Navigated fires), the started nav span will either remain open until a subsequent navigation finishes it as Ok in StartNavigationSpan, or be finished as Ok by an unrelated Navigated. Consider checking e.Cancelled/handling the cancel deferral so the span is finished with SpanStatus.Cancelled.


⏱ 6m 24s · 1.5M in / 14.5k out · $3.99 (+verification: $1.14)