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

未关闭
#564 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
6.6k
派生
329
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/MobileBuildMCP 的其他 Issue

查看 getsentry/MobileBuildMCP 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。