sentry-native icon indicating copy to clipboard operation
sentry-native copied to clipboard

Crashpad: add more flexibility in dropping instead of retrying requests

Open JoshuaMoelans opened this issue 2 months ago • 1 comments

Currently (since https://github.com/getsentry/sentry-native/pull/1152) we retry on all failed uploads, regardless of the response code. Ideally, for some responses (like 413), we know retrying won't help, so it'd be better to just drop immediately.

We should follow the network failure handling as outlined here https://develop.sentry.dev/sdk/expected-features/#dealing-with-network-failures

We could rewrite the ExecuteSynchronously implementations to allow for a second int* argument that we can populate with the response status code.

JoshuaMoelans avatar Dec 15 '25 13:12 JoshuaMoelans

NATIVE-152

linear[bot] avatar Dec 15 '25 13:12 linear[bot]