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

Offen
#564 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
58/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus getsentry/MobileBuildMCP

Alle Issues in getsentry/MobileBuildMCP

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.