Skip to content

feat(testing): Add default xcresult bundles for test tools#401

Merged
cameroncooke merged 1 commit intomainfrom
codex/default-test-result-bundles
May 7, 2026
Merged

feat(testing): Add default xcresult bundles for test tools#401
cameroncooke merged 1 commit intomainfrom
codex/default-test-result-bundles

Conversation

@cameroncooke
Copy link
Copy Markdown
Collaborator

Create workspace-scoped default xcresult bundles for simulator, device, and macOS test tools when callers do not pass -resultBundlePath.

Previously, test artifact paths were only surfaced when xcodebuild reported a bundle path or the caller provided one explicitly. This makes the artifact path deterministic for agents and scripts, and keeps user-provided bundle paths unchanged.

The workspace filesystem lifecycle now recognizes XcodeBuildMCP-managed result bundles and prunes them safely, while protecting live bundles until their completion marker is written and leaving user-created bundles alone.

Create workspace-scoped result bundle paths for simulator, device, and macOS test commands when callers do not provide one. This makes test artifacts consistently available in text and structured output while preserving explicit result bundle paths.

Extend workspace filesystem cleanup so managed result bundles are pruned safely without touching user-created bundles.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 7, 2026

Open in StackBlitz

npm i https://pkg.pr.new/xcodebuildmcp@401

commit: b8607ae

@cameroncooke cameroncooke marked this pull request as ready for review May 7, 2026 12:40
@cameroncooke cameroncooke merged commit 01609ca into main May 7, 2026
43 checks passed
@cameroncooke cameroncooke deleted the codex/default-test-result-bundles branch May 7, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant