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

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
node.js, typescript
Lĩnh vực
testing

Hướng nghiên cứu

Bắt đầu với công thức porting trong issue cha, sau đó kiểm tra các suite tracing/* và public-api/* được liệt kê cùng các bản tương ứng -streamed của chúng. Port các suite được chỉ định sang span streaming, đưa các bản tương ứng đã nêu trở lại và giữ tracing/sampling-static cùng public-api/beforeSendSpan-static ở static pin. Công việc được xem là hoàn tất khi các integration suite được liệt kê bao phủ sampling, propagation, liên kết span và hành vi của public API trong span streaming.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

javascript Task

Follow the porting recipe in the parent issue.

Sampling, DSC, envelope headers and span linking. These suites 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

  • Envelope headers and DSC: tracing/envelope-header/* (7 dirs), tracing/dsc-txn-name-update, tracing/double-baggage/* (3 dirs), tracing/meta-tags, tracing/meta-tags-twp, tracing/meta-tags-twp-errors
  • Sampling: tracing/sampling-static, tracing/sample-rate-propagation/* (4 dirs), tracing/sample-rand-propagation, tracing/no-parent-span-client-report
  • Trace lifetime: tracing/continueTrace, tracing/startNewTrace, tracing/traceid-recycling, tracing/traceid-recycling-with-spans
  • Span shaping: tracing/linking, tracing/maxSpans, tracing/tracer-start-active-span-error
  • Public API span surface: public-api/startSpan/* (7 dirs), public-api/beforeSendSpan-static, public-api/bindScopeToEmitter, public-api/setMeasurement, public-api/scopes/*

Twins to fold back

tracing/sampling-streamed, tracing/ignoreSpans-streamed/*, public-api/beforeSendSpan-streamed, context-streamed/*, and the 6 public-api/startSpan/*-streamed dirs.

Keep static trace lifecycle coverage

This is the group that owns the guard. Keep tracing/sampling-static and public-api/beforeSendSpan-static on the static pin. Everything else moves.

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

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.