Skip to content

bugfix(android): breadcrumbs logged during a send fail the upload - #405

Merged
KishanPRao merged 4 commits into
mainfrom
fix/android-rapid-send
Oct 6, 2026
Merged

KishanPRao merged 4 commits into
mainfrom
fix/android-rapid-send

Conversation

@KishanPRao

Copy link
Copy Markdown
Collaborator

Summary

Android report uploads no longer fail when the app logs a breadcrumb right before sending, and those breadcrumbs now arrive with the report.

Changes

  • BacktraceFileSystemProvider.java: keep line breaks when reading a file.
  • BacktraceFileSystemProviderTest.java: new, cover reading a file and a missing file.
  • FileSnapshotAttachment.ts: new, send the breadcrumb file's current content on android, keep the file path on ios.
  • FileBreadcrumbsStorage.ts: use the snapshot attachment for breadcrumb files, include breadcrumbs not yet written to the file, keep uploads within the breadcrumb limits.
  • BacktraceFileAttachment.ts: let subclasses return file content.
  • FileContent.ts: new, type for in-memory file content.
  • fileSnapshotAttachmentTests.spec.ts: new, cover breadcrumbs written during and right before an upload, file rotation, breadcrumb limits.

ref: BT-7453

@KishanPRao
KishanPRao requested a review from melekr October 5, 2026 15:44
@KishanPRao KishanPRao self-assigned this Oct 5, 2026
@KishanPRao KishanPRao added the bug Something isn't working label Oct 5, 2026
@KishanPRao
KishanPRao marked this pull request as ready for review October 5, 2026 16:54
@KishanPRao KishanPRao changed the title bugfix: android report uploads fail when a breadcrumb is logged during the send bugfix(android): report uploads fail when a breadcrumb is logged during the send Oct 6, 2026
@KishanPRao KishanPRao changed the title bugfix(android): report uploads fail when a breadcrumb is logged during the send bugfix(android): breadcrumbs logged during a send fail the upload Oct 6, 2026
@KishanPRao
KishanPRao merged commit 48a6aad into main Oct 6, 2026
12 checks passed
@KishanPRao
KishanPRao deleted the fix/android-rapid-send branch October 6, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants