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

Fix issue with MaxBreadcrumbs setting is not respected on desktop #688

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

tustanivsky
Copy link
Collaborator

@tustanivsky tustanivsky commented Nov 18, 2024

Since sentry-native doesn't support working with multiple scopes we've added a custom scope class implementation for Windows/Linux to align the UE plugin API across different platforms (see #328). SentryScopeDesktop stores breadcrumbs in its own cache and thus ignores MaxBreadcrumbs setting value provided during the Native SDK initialization. This PR adds a corresponding breadcrumbs amount check and changes the cache's container type to ringbuffer.

Closes #683

@bruno-garcia
Copy link
Member

@tustanivsky approved to unblock. We need some tests though

@bruno-garcia bruno-garcia merged commit cb51e32 into main Nov 18, 2024
19 checks passed
@bruno-garcia bruno-garcia deleted the fix/max-breadcrumbs-desktop branch November 18, 2024 17:53
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.

MaxBreadcrumbs setting is not respected and leads to failures to ingest events
2 participants