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

Abierto
#564 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
6.6k
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/MobileBuildMCP

Todos los issues de getsentry/MobileBuildMCP

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.