[Bug]: Read test_sim's per-test list from the result bundle, so an interleaved xcodebuild line doesn't drop a test
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 73/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- testing
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.6k
- Forks
- 329
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/MobileBuildMCP
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
getsentry/MobileBuildMCP#495 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 42/100
getsentry/MobileBuildMCP#577 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
getsentry/MobileBuildMCP#575 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 65/100
getsentry/MobileBuildMCP#573 ·
Alle Issues in getsentry/MobileBuildMCP
Ähnliche Issues
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesEvtl. vergeben @tomaionescu hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pola-rs/nodejs-polars#486 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/plugins platform/linux reproduced type/bug version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#66970 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:tui enhancement platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anthropics/claude-code#112838 ·
-
approved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag