[Bug]: Read test_sim's per-test list from the result bundle, so an interleaved xcodebuild line doesn't drop a test
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- testing
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 6.6k
- フォーク
- 329
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/MobileBuildMCP のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
getsentry/MobileBuildMCP#495 ·
-
難易度 3/5 半日 初心者へのやさしさ 42/100
getsentry/MobileBuildMCP#577 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
getsentry/MobileBuildMCP#575 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
getsentry/MobileBuildMCP#573 ·
getsentry/MobileBuildMCP の issue をすべて見る
似ている issue
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column names対応中かも @tomaionescu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pola-rs/nodejs-polars#486 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jaegertracing/jaeger-ui#4853 ·
メンテナーはふだん 1 日以内に返信
-
area/plugins platform/linux reproduced type/bug version/v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anomalyco/opencode#66970 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
area:tui enhancement platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/claude-code#112838 ·
-
approved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信