Skip to content

test(smoke): Isolate xcodebuild log capture#393

Merged
cameroncooke merged 1 commit intomainfrom
cameroncooke/fix/smoke-harness-log-capture
May 5, 2026
Merged

test(smoke): Isolate xcodebuild log capture#393
cameroncooke merged 1 commit intomainfrom
cameroncooke/fix/smoke-harness-log-capture

Conversation

@cameroncooke
Copy link
Copy Markdown
Collaborator

Isolate smoke-test xcodebuild log capture with a per-harness temporary log directory.

The workspace filesystem cleanup change made production log capture depend on configured runtime workspace state. That is correct for the real server, but the smoke harness mixes source-side bootstrap code with built tool modules. The source runtime singleton is configured, while the built log-capture module used by tool handlers is separate, so build-like smoke tests failed before reaching the mocked command executor.

This configures the source and built xcodebuild-log-capture test overrides to the same temporary directory and clears/removes it during harness cleanup. That keeps smoke tests isolated without weakening production runtime workspace requirements.

Validated locally with npm run test:smoke, npm run typecheck, npm run lint, npm run format:check, and npm run test.

Configure source and built smoke harness log-capture modules with a
per-harness temporary log directory. This keeps smoke tests from requiring
built runtime workspace state before the mocked command executor can capture
xcodebuild and swift invocations.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@cameroncooke cameroncooke marked this pull request as ready for review May 5, 2026 11:33
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 5, 2026

Open in StackBlitz

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

commit: 9123a5d

@cameroncooke cameroncooke merged commit 1a39114 into main May 5, 2026
31 checks passed
@cameroncooke cameroncooke deleted the cameroncooke/fix/smoke-harness-log-capture branch May 5, 2026 18:52
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