[Bug]: Read test_sim's per-test list from the result bundle, so an interleaved xcodebuild line doesn't drop a test
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
- 73/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- testing
Hướng nghiên cứu
Start with src/utils/xcodebuild-domain-results.ts and trace how summary.counts and testCases are populated when an .xcresult is available. Check whether the result bundle exposes the per-test records needed for testCases; done means the list includes every test represented by the summary counts, including tests whose xcodebuild output lines were interrupted.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bug Description
test_sim's per-test list (data.testCases) sometimes has one entry fewer than the summary counts: 958 entries for 959 passed tests. The counts come from the result bundle and are right. The list comes from xcodebuild's output, and xcodebuild writes one of its own log messages into the middle of a test's result line, so that test's line no longer parses.
From the run's build log, one test's line, cut by the interleaved message:
Test case 'Loss2026-10-28 21:26:25.515 xcodebuild[8740:2857227] [MT] IDESchemeActionSDKRecord: operatingSystemBuild = <DVTBuildVersion 24A94232>, error = invalid…
That line should have read Test case 'Lossy…Tests.test_…()' passed on 'Clone 1 of iPhone 12 - xctest (…)' (0.001 seconds). The suite runs on parallel simulator clones; it happened in 4 of 10 runs of the same suite, and not always to the same test.
In src/utils/xcodebuild-domain-results.ts, summary.counts is read with extractTestSummaryCountsFromXcresult when there's an .xcresult, while testCases maps state.testCaseResults, parsed from xcodebuild's output. Reading the per-test list from the result bundle as well, when there is one, would keep the two consistent.
Debug Output
Left out because it lists local paths; happy to share it if it would help. Everything the report depends on is quoted above.
Editor/Client
Claude Code 2.1.312
MCP Server Version
2.7.1
LLM
Claude Opus 5.5
Steps to Reproduce
- Run
test_simon a large suite (here about 960 XCTest cases) that runs on parallel simulator clones. - Compare
data.summary.countswithdata.testCases.length, and search the run's build log for aTest case 'line that a[MT] IDESchemeActionSDKRecordmessage interrupts.
Expected Behavior
testCases lists every test the counts include.
Actual Behavior
counts.passed is 959, testCases has 958 entries, and the build log has the interrupted line.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/MobileBuildMCP
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
getsentry/MobileBuildMCP#495 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
getsentry/MobileBuildMCP#577 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
getsentry/MobileBuildMCP#575 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
getsentry/MobileBuildMCP#573 ·
Tất cả issue của getsentry/MobileBuildMCP
Issue tương tự
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesCó thể đã có người làm @tomaionescu đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pola-rs/nodejs-polars#486 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/plugins platform/linux reproduced type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#66970 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anthropics/claude-code#112838 ·
-
Add: Sports First TV (US)Đang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày