getsentry / getsentry/sentry-java

Handle Apollo multipart failed-request inspection safely

オープン
#5,987 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bug Errors Java Platform: Java
主要言語
Kotlin
スター
1.4k
フォーク
478
平均マージ
2日 23時間
マージ済み PR(30日)
67

説明

## Context

The Apollo 4 and Apollo 5 integrations inspect HTTP response bodies to detect GraphQL `errors`. Multipart and incremental responses need separate handling so inspection does not buffer, block, or consume streaming bodies.

## Scope

- Define safe failed-request inspection for multipart/incremental responses in `sentry-apollo-4` and `sentry-apollo-5`.
- Preserve spans and breadcrumbs when body inspection is skipped or unsupported.
- Decide between skipping failed-request body inspection for multipart responses and parsing multipart parts for GraphQL errors.
- Add tests covering streaming behavior and body preservation.

WebSocket subscription instrumentation remains out of scope.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reading the sentry-apollo-4 and sentry-apollo-5 integration code to trace failed-request body inspection for multipart and incremental responses. Add tests for streaming behavior and body preservation, including cases where inspection is skipped or unsupported. Done means multipart handling does not buffer, block, or consume the body, while spans and breadcrumbs remain preserved.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
kotlin
領域
api, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。