Repository navigation
feat(client-reports): Add transport loss recorder - #1158
Merged
szokeasaurusrex merged 11 commits intoJun 24, 2026
Merged
szokeasaurusrex merged 11 commits into
szokeasaurusrex merged 11 commits into
Conversation
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 10, 2026 15:16
d773421 to
a3a0645
Compare
|
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
2 times, most recently
from
June 10, 2026 15:28
b06abcc to
11aeb31
Compare
szokeasaurusrex
marked this pull request as ready for review
June 10, 2026 15:29
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
2 times, most recently
from
June 12, 2026 10:08
70d4273 to
2c18ec2
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 12, 2026 12:37
2c18ec2 to
d6c1636
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 12, 2026 13:38
397f1c3 to
dd2269e
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit dd2269e. Configure here.
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 12, 2026 13:41
dd2269e to
c349e74
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 12, 2026 15:28
c349e74 to
1c48443
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
2 times, most recently
from
June 16, 2026 11:56
e8d437b to
04ec791
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 16, 2026 12:49
04ec791 to
e5d3993
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 16, 2026 12:51
e5d3993 to
bd8478f
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
2 times, most recently
from
June 22, 2026 08:12
35165bd to
b94ee40
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 22, 2026 11:20
b94ee40 to
c90f232
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 22, 2026 15:54
c90f232 to
e96d2c8
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 22, 2026 16:02
e96d2c8 to
fbe6662
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
2 times, most recently
from
June 23, 2026 12:36
cc7914d to
47b5cc6
Compare
Add a public `ClientReportRecorder` handle for transports to record lost Sentry data without exposing the full client-report aggregator. Pass the recorder through `TransportOptions` when the SDK client builds a transport. Recorded losses are aggregated into future `client_report` envelope items, so transports can report drops without sending extra requests. Keep backwards-compatible transport construction paths working by using a no-op recorder when no client-report aggregator is available. Built-in transports will start calling the recorder in follow-up PRs. Resolves [#1148](#1148) Resolves [RUST-223](https://linear.app/getsentry/issue/RUST-223)
szokeasaurusrex
force-pushed
the
szokeasaurusrex/transport-report-recorder
branch
from
June 24, 2026 12:28
47b5cc6 to
27cea06
Compare
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add a public
ClientReportRecorderhandle for transports to record lost Sentry data without exposing the full client-report aggregator.Pass the recorder through
TransportOptionswhen the SDK client builds a transport. Recorded losses are aggregated into futureclient_reportenvelope items, so transports can report drops without sending extra requests.Keep backwards-compatible transport construction paths working by using a no-op recorder when no client-report aggregator is available. Built-in transports will start calling the recorder in follow-up PRs.
Resolves #1148
Resolves RUST-223