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

test: no shared conformance suite across runtimes

Đang mở
#24,052 1 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
testing-qa

Hướng nghiên cứu

Bắt đầu bằng cách xác định các bài kiểm thử tích hợp hiện có theo từng runtime và các quy ước của repository về tài liệu được tạo hoặc các ma trận kiểm thử dùng chung. Đối chiếu các hành vi được liệt kê với phạm vi bao phủ hiện có, sau đó chọn định dạng ma trận được hỗ trợ và điền các kết quả hiện tại vào đó. Hoàn thành khi tồn tại một bảng xuyên runtime, trong đó các ô trống xác định rõ phạm vi bao phủ còn thiếu và các bài kiểm thử hiện có được phản ánh chính xác.

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

Mô tả

javascript

Many items in this project's issues are the same questions asked repeatedly: does this runtime propagate trace headers on its default HTTP client? Does it keep a span open for a streaming response? Does it report the right SDK name and runtime? Does double init do the same thing?

Each was found by reading one package and comparing to another. A table would have found them all at once, and would keep finding them.

Work item. Add a single matrix table to the repo (a test, or a generated doc) with one row per behavior and one column per runtime, covering at least:

Behavior
sdk.name and sdk.packages
contexts.runtime.name / .version
incoming server span: name, sentry.op, source
incoming server span: continues an inbound sentry-trace
outgoing default HTTP client: child span created
outgoing default HTTP client: sentry-trace + baggage sent
streaming response: span stays open until the body ends
streaming response: client cancel propagates upstream
request body capture honors dataCollection.httpBodies
ignoreStatusCodes drops the transaction
OPTIONS / HEAD produce no span
double init() behavior
tracing-off: tracing integrations absent
unhandled error in the handler is captured and rethrown

Fill it from the existing per-runtime integration tests where they already exist, and let the empty cells drive the backlog. This is the item with the highest long-term return; every other item in this document is one cell in it.

Prior art Four open issues ask for more test coverage, but none of them for a cross-runtime behavior matrix:

  • #18635
  • #20874
  • #23610
  • #22523
  • #18635 similar, but it is about running existing suites against more frameworks, not about asking every runtime the same behavioral question.
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.