[Feature]: Let test results leave out the per-test list

Đang mở
#564 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/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

Hướng nghiên cứu

Start with src/utils/xcodebuild-domain-results.ts, where the issue says testCases is added from state.testCaseResults, then trace how test tool configuration and structured results are defined for test_sim and the other test tools. Decide how the proposed option or passing-run default should preserve failures and the full result bundle; done means structured results can omit the per-test list while retaining the requested summary, artifacts, and diagnostics.

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

Mô tả

Feature Description

Let test_sim (and the other test tools) leave out the per-test list from their structured result: either a parameter or config option, or by default for passing runs.

For a 959-test suite, data.testCases is about 127 KB of a 130 KB result. That's over Claude Code's limit for a tool result, so on every run Claude Code saves the result to a file and gives the agent a notice to read it in chunks or with jq: an extra call each time, for a run that passed. The list is always included: testCases is set whenever state.testCaseResults is non-empty (src/utils/xcodebuild-domain-results.ts), and nothing in the config turns it off. The text output already lists every test only when showTestTiming is on.

Use Cases
  • An agent running a large suite wants the outcome (counts, failures, artifacts) without a per-test list, which it rarely reads for a passing run.
  • Keeping each result small means it reaches the agent whole instead of through a file.
Example Interactions

test_sim({ extraArgs: ["-only-testing:AppTests"] }) returns summary, artifacts and diagnostics (failures included), with testCases left out or replaced by its count, and the full list still in the result bundle.

Ngôn ngữ chính
TypeScript
Star
6.6k
Fork
329
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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/MobileBuildMCP

Tất cả issue của getsentry/MobileBuildMCP

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.