Propagate context variables in the SSE transport within the MCP integration
まだ誰も着手していません。
評価
調査の方向性
test_mcp.py の test_sse_transport_detection_v2 テストから始め、リンクされている pull request の議論を確認してください。SSE トランスポートがコンテキストをどのように扱うかを追跡し、HTTP トランスポートと比較してください。スコープ、親子関係、属性、単一の trace のいずれも保持するか、SSE のサポートを廃止するという明確な判断に至れば完了です。
索引モデルが issue の本文から書いたものです。
説明
Related: https://github.com/getsentry/sentry-python/pull/6583#discussion_r3427253810
See test_sse_transport_detection_v2 test in test_mcp.pyas a reference to this behaviour.
Because we don't propagate these correctly, traces lose everything that's set on the isolation and current scopes, we lose the parent-child span relationship, attributes that were set are lost, andwe get two traces instead of one.
Note: Rather than working to propagate the context variables, we may want to consider dropping support for the SSE transport as current data points to most users using the HTTP transport.
- 主要言語
- Python
- スター
- 2.2k
- フォーク
- 672
- 平均マージ
- 23時間 14分
- マージ済み PR(30日)
- 218
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/sentry-python#7543 · コメント 2 件 · 担当者 1 名 ·
-
Python
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getsentry/sentry-python#6992 · コメント 1 件 ·
-
Improvement Python
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
getsentry/sentry-python#6970 · コメント 1 件 ·
-
Bug Python
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
getsentry/sentry-python#6504 · コメント 1 件 ·
-
Improvement Python Spans
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
getsentry/sentry-python#5833 · コメント 1 件 ·
getsentry/sentry-python の issue をすべて見る
似ている issue
-
Add: hunch オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/dodal#2211 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openml/openml-python#1749 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sipyourdrink-ltd/bernstein#6191 ·