Pure tombstone events duplication

Đang mở
#6,052 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
android, java, kotlin
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Bắt đầu với đường dẫn báo cáo tombstone của sentry-android và so sánh hai JSON sự kiện được cung cấp, tập trung vào lý do nội dung giống hệt nhau được nhận hai lần. Nếu có thể, hãy tái hiện thiết lập Android và Gradle đã được báo cáo; được xem là hoàn tất khi một tombstone duy nhất tạo ra một event và hành vi event trùng lặp được bao phủ bởi một test phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Android Bug Platform: Java
Integration

sentry-android

Build System

Gradle

AGP Version

8.14.0

Proguard

Enabled

Other Error Monitoring Solution

No

Version

8.44.1

Steps to Reproduce

Unfortunately, I was unable to reproduce this problem on local devices.

Expected Result

Tombstone events are not duplicated.

Actual Result

I see duplicate events in the reports received from users:
Image

I downloaded two event's jsons and compared:

E:\work\tmp>diff "l.txt" "r.txt"
2c2
<   "event_id": "b4a16e59fd854caaa8ebae2ea2828dd0",
---
>   "event_id": "5716230e7f254ec9b3bcfe13d562bde2",
6893,6894c6893,6894
<   "nodestore_insert": 1788397282.7622,
<   "received": 1788397276.54076,
---
>   "nodestore_insert": 1788358349.59206,
>   "received": 1788358346.52165,

All content is identical, except from id and received time.

Therefore, I assume there is a bug when same tombstone may be reported twice.

P.S. Ignore the fact that the "Release" field is missing from the events - that's another issue I started to address, but noticed duplicates. For some reason, pure tombstone events don't have custom tags, breadcrumbs and attachment. If someone knows the reason, please advice, any hints are highly appreciated.

Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
483
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
202

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-java

Tất cả issue của getsentry/sentry-java

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.