getsentry / getsentry/sentry-java

Detect mixed versions of Sentry between Agent and normal dependencies

Aperta
#4,750 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Improvement Java
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 22h
PR unite (30g)
69

Descrizione

### 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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.