getsentry / getsentry/sentry-javascript

browser-integration-tests: port trace semantics suites to span streaming

オープン
#24,144 コメント 1 件 リアクション 0 件 担当者 1 名 @msonnb が担当を希望しています GitHub で見る
javascript Task
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
523

説明

Follow the porting recipe in the parent issue.

Trace lifetime, DSC, sampling and span linking. These assert on envelope headers and trace propagation rather than on instrumentation output, so they are the ones most likely to expose a real product bug rather than a test rewrite.

## Suites

* Trace lifetime: `tracing/trace-lifetime/*`, `tracing/continueTrace/*`, `tracing/bindScopeToEmitter`
* Envelope headers and DSC: `tracing/envelope-header`, `tracing/envelope-header-transaction-name`, `tracing/dsc-txn-name-update`
* Sampling: `tracing/tracesSampler`, `tracing/stringSampleRate`, `tracing/no-parent-span-client-report`
* Span shaping: `tracing/linking-addLink`, `tracing/linking-addLinks`, `tracing/linking-spanOptions`, `tracing/ignoreSpans`, `tracing/maxSpans`, `tracing/setSpanActive`, `tracing/microfrontend-span-attribution`, `tracing/browserTracingIntegrationShim`
* Public API span surface: `public-api/startSpan`, `public-api/beforeSendTransaction`
* `integrations/httpclient`

## Twins to fold back

`tracing/trace-lifetime/pageload-streamed`, `navigation-streamed`, `startNewTrace-streamed`, `tracing/setSpanActive-streamed`, `tracing/linking-addLink-streamed`, `tracing/ignoreSpans-streamed`, `tracing/http-client-span-streamed`, `public-api/startSpan/streamed`, `public-api/beforeSendSpan-streamed`.

## Keep static trace lifecycle coverage

Pick one suite here to stay on the static pin as the guard, and name it in the PR. The `profiling/traceLifecycleMode_*` suites already cover the lifecycle switch itself.

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

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

評価

この issue はまだ評価されていません。

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

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