Evaluate which experimental APIs to promote in v9
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
研究方向
Start by reviewing the 132 production usages of @ApiStatus.Experimental inventoried from commit 4bf0a82, then read the linked issues and the internal stability data referenced in the issue. For each API, determine whether to promote, keep experimental, make internal, or remove it; the issue lists recommendations and blockers, including open issues #6248, #5317, #6134, and #6349. Done means reaching and documenting decisions for the full inventory, including the items already tracked for v9.
由索引模型根據 Issue 內容生成。
描述
Description
For v9, go through everything still annotated @ApiStatus.Experimental in production sources. For each item, decide whether to promote it (drop the annotation), keep it experimental, make it @ApiStatus.Internal, or remove it. A major release is the cheapest time to make the breaking cases (rename/remove/internalize).
Inventory taken from main @ 4bf0a82: 132 @ApiStatus.Experimental usages outside tests. Getters and setters are merged below. Items that are already also @Internal are left out (SentryOtelThreadLocalStorage, NoOpDistributionApi, CompositeModulesLoader, ManifestModulesLoader).
Recommendations below are based on API age/maturity and open issues in this repo (linked inline). Additional internal stability data is tracked on the linked Linear issue.
Recommendation: promote in v9
| API | Evidence |
|---|---|
Check-in leftovers: captureCheckIn on HubAdapter/ScopesAdapter/NoOpScopes, CheckInUtils, SentryOptions.cron, ignoredCheckIns, Spring SentryQuartzConfiguration + SentrySchedulerFactoryBeanCustomizer (spring, jakarta, spring-7), SentryJobListener (quartz) |
Already decided in #4673 (closed as completed), but these annotations were missed. |
SentryOptions/ExternalOptions: enableSpotlight, spotlightConnectionUrl |
Dev-only tooling. #3981 (init without DSN) is an improvement and doesn't block promotion. |
SentryOptions/ExternalOptions: enableBackpressureHandling (+ backpressureMonitor) |
Long-standing core feature; no open issues. |
SentryOptions.logs (getLogs/setLogs), SentryClient.captureLog, SentryClient.captureMetric |
Logs and metrics are GA product features. |
Sentry.startProfiler() / stopProfiler() |
Continuous profiling entry points; no open issues. |
ignoredSpanOrigins, ignoredTransactions (set/add), maxSpans, enableScreenTracking, fatalLogger |
Simple config knobs; no open issues. |
SentryCoroutineExceptionHandler (kotlin-extensions) |
No open issues. |
Spring WebFlux (SentryWebFilter, AbstractSentryWebFilter, SentryWebFilterWithThreadLocalAccessor, SentryWebExceptionHandler, SentryScheduleHook, SentryRequestResolver) + Boot SentryWebfluxAutoConfiguration |
Years old and widely used. Blocked on #6248 (open SentryScheduleHook memory leak); promote once that's fixed. |
Recommendation: make @Internal instead of promoting
Baggage,BaggageHeader,TraceContext,ISpan.traceContext(),ISpan.toBaggageHeader(...): plumbing used by integrations and hybrid SDKs, and not really user API.RequestDetailsResolver,IScopesStorageFactory/SentryOptions.scopesStorageFactory: extension points for our own modules (OTel, etc.).
Recommendation: decide remove vs. promote
SentryOptions.traceSampling: Javadoc says "experimental API and will be removed without notice". v9 is the time to either drop it (always on) or commit to it.ExternalOptions.globalHubMode: only the getter is experimental; align it with theSentryOptionscounterpart.ExperimentalOptions/options.getExperimental(): currently empty. Keep it as the landing spot for future experiments, or remove it.
Recommendation: keep experimental
| API | Why |
|---|---|
SentryReplayOptions.screenshotStrategy / ScreenshotStrategyType (Canvas) |
#5317 (incorrect Canvas replay) is open. #5374 notes usage numbers aren't great and custom masking is missing. |
SentryReplayOptions.captureSurfaceViews, frameObserver / ReplayFrameObserver |
New; no adoption signal yet. |
SentryAndroidOptions.enableNdkAppHangTracking, ndkAppHangTimeoutIntervalMillis |
New; little real-world mileage yet. |
SentryAndroidOptions.memoryLimiterEnabled, reportHistoricalMemoryLimiterExits |
#6134 (handle REASON_MEMORY_LIMITER) is still open. |
sentry-android-navigation3 (SentryNavEffect, SentryNavOptions, BackStackEntryMapper, SentryBackStackEntry) |
Shape may change with SAGP auto-instrumentation (#6349). |
App distribution: DistributionIntegration, IDistributionApi, UpdateInfo, UpdateStatus, SentryOptions.distribution/DistributionOptions/distributionController |
New; no adoption signal yet. |
SentryKafkaProducer, SentryKafkaConsumerTracing, SentryJCacheWrapper |
New server integrations. Needs usage data before promoting. |
Spring Boot keepTransactionsOpenForAsyncResponses |
No signal either way; check with the Spring owners. |
Already tracked for 9.0.0
enableStandaloneAppStartTracing: #5376 plans to make it the default or drop the flag. Promote or remove it as part of that change.
via roman.
--
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 483
- 平均合併
- 2 天 2 小時
- 30 天內合併 PR
- 202
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-java 的其他 Issue
-
Test the `sentry wizard` Android port可能已有人在做 @antonis 於 1 天前認領。 未關閉Platform: Java
getsentry/sentry-java#6797 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Narrow and clean up Android consumer keep rules可能已有人在做 @runningcode 於 3 天前認領。 未關閉Android Platform: Java
getsentry/sentry-java#6771 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Android Bug Platform: Java Waiting for: Product Owner
難度 4/5 3-5 天 新手友好度 45/100
getsentry/sentry-java#6758 · 4 則留言 ·
維護者通常 1 天內回覆
-
Android Bug Platform: Java Replays
難度 3/5 1-2 天 新手友好度 62/100
getsentry/sentry-java#6741 · 1 則留言 ·
維護者通常 1 天內回覆
-
Android Bug Platform: Java Replays
難度 3/5 1-2 天 新手友好度 50/100
getsentry/sentry-java#6740 · 1 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-java 的全部 Issue
相似的 Issue
-
device-support good first issue
難度 2/5 1-3 小時 新手友好度 68/100
-
Legacy Chat backups screen overlaps status and navigation bars可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
signalapp/Signal-Android#15150 ·
維護者通常 1 天內回覆
-
bug triage
難度 2/5 1-3 小時 新手友好度 91/100
simplex-chat/simplex-chat#8372 ·
維護者通常 1 天內回覆
-
android:core
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 90/100
championswimmer/TwoFac#178 ·
維護者通常 1 天內回覆