Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

cloudflare-integration-tests: add shared streamed-span helpers to the runner

Đang mở
#24,146 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@JPeer264 đang làm issue này rồi.

Từ ngày 7/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

javascript Task

Blocks the other two sub-issues.

This package has no shared span assertion helpers. suites/public-api/startSpan-streamed/test.ts and suites/tracing/ignoreSpans-streamed/test.ts each define their own local getSpanContainer(envelope), which will not scale to 80 ported files.

What to do

Add helpers next to runner.ts and expect.ts, mirroring what the other packages already have:

  • node uses .expect({ span }) in utils/runner/createRunner.ts, which gives a SerializedStreamedSpanContainer
  • browser uses waitForStreamedSpan / waitForStreamedSpans / waitForStreamedSpanEnvelope in utils/spanUtils.ts

At minimum this package needs: pull the span container out of an envelope, find a span by op or name, and collect spans across several envelopes, since streamed child spans do not all arrive in one envelope.

Port the two existing -streamed suites onto the new helpers in the same PR so the shape is proven before the bulk work starts.

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.9k
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
576

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-javascript

Tất cả issue của getsentry/sentry-javascript

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.