getsentry / getsentry/sentry-java

Detect mixed versions of Sentry between Agent and normal dependencies

未關閉
#4,750 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Improvement Java
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

### Description

In previous work we intended to [crash the SDK on startup](https://github.com/getsentry/sentry-java/pull/4277) if mixed versions of Sentry are detected.

Right now this doesn't work in all cases, as is demonstrated here: https://github.com/lcian/sentry-samples-java/tree/main/mixed_versions_agent.

We should find a way to detect the mismatch and report it to the user, either by crashing the app or by finding another solution (e.g. reporting an issue in Sentry).

貢獻指南

開啟貢獻指南

研究方向

審查 PR 4277 以及 issue 中連結的 mixed_versions_agent 範例,以了解目前遺漏了哪些版本不相符的情況。當偵測到 Agent 與一般相依套件之間不相符的 Sentry 版本,並透過約定的行為(例如啟動失敗或 Sentry 報告)進行回報時,這項工作就完成了。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend
Issue 類型
缺陷
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
28/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。