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

Add realistic e2e test app for Mastra

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

Maintainer thường phản hồi trong vòng 1 ngày

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
55/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ệ
nodejs, typescript
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by comparing the existing node-mastra, cloudflare-mastra, node-mastra latest, and *-send-to-sentry e2e apps. Run the current apps to understand the OpenRouter requests, tunnel behavior, and Sentry API checks. Done means Node and Cloudflare latest variants send gen_ai spans through a real E2E_TEST_DSN and verify them through the Sentry API.

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

Mô tả

Tests

Add an e2e test app that uses the Mastra integration the way a real user does, and that sends the data to a real Sentry project.

Current state: node-mastra and cloudflare-mastra send real requests through OpenRouter, and node-mastra has a latest variant. But the SDK sends the spans to the local event proxy (tunnel: localhost:3031), so nothing gets to Sentry.

Requirements:

  • Send real requests to the model provider (OpenRouter is OK).
  • Use a real E2E_TEST_DSN with no tunnel, so the data goes to Sentry.
  • Read the gen_ai spans back through the Sentry API and check them, the same way the *-send-to-sentry apps do.
  • Run against the latest version of the library on Node and Cloudflare.
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.9k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
543

Chuẩn bị môi trường

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.