-
-
Notifications
You must be signed in to change notification settings - Fork 304
feat(testing): Support reusable prepared test artifacts #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cameroncooke
wants to merge
24
commits into
main
Choose a base branch
from
codex/feat/issue-450-build-for-testing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
79d6b5c
feat(xcodebuild): Support prepared test artifacts
cameroncooke 65b862b
feat(manifest): Support conditional next steps
cameroncooke e359897
fix(testing): Stabilize prepared test execution
cameroncooke 88da782
test(snapshot): Align device test schema versions
cameroncooke e7b8d53
fix(test): Extract failures from managed result bundles
cameroncooke f95b573
fix(test): Preserve explicit test destinations
cameroncooke c3683ea
meta: Merge main into feature branch
cameroncooke 6c45d0b
test(snapshot): isolate snapshot preflight state
cameroncooke a925f49
fix(testing): address prepared test review findings
cameroncooke 2ee73fa
fix(testing): preserve prepared test selectors
cameroncooke ae6d5ba
fix(testing): only mark successful test products complete
cameroncooke a233718
fix: stabilize prepared test snapshot fixtures
cameroncooke 9a22305
fix: honor test product retention options
cameroncooke f0a9b1e
fix: reject device destinations without prepared tests
cameroncooke cda637e
fix: isolate session destinations for device builds
cameroncooke 191b74e
fix: mark failed prepared builds complete
cameroncooke 115fdde
fix: remove unstable snapshot fixture churn
cameroncooke e6912a4
fix(snapshot): Tolerate simulator lifecycle races
cameroncooke 50ffcd0
test(snapshot): Align prepared test fixtures
cameroncooke 650356a
fix(snapshot): Handle teardown shutdown races
cameroncooke 3e8ab0e
fix: Align prepared test review fixes
cameroncooke dced3b4
fix(snapshot): Stabilize isolated fixture output
cameroncooke 94d4ae3
fix(test): Sanitize managed test product paths
cameroncooke bdbfb28
fix: preserve test product retention cap
cameroncooke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
122 changes: 122 additions & 0 deletions
122
schemas/structured-output/xcodebuildmcp.output.build-result/3.schema.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,122 @@ | ||
| { | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "$id": "https://xcodebuildmcp.com/schemas/structured-output/xcodebuildmcp.output.build-result/3.schema.json", | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "allOf": [ | ||
| { | ||
| "$ref": "https://xcodebuildmcp.com/schemas/structured-output/_defs/common.schema.json#/$defs/errorConsistency" | ||
| } | ||
| ], | ||
| "$defs": { | ||
| "buildInvocationRequest": { | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "buildForTesting": { "type": "boolean" }, | ||
| "scheme": { "type": "string" }, | ||
| "workspacePath": { "type": "string" }, | ||
| "projectPath": { "type": "string" }, | ||
| "packagePath": { "type": "string" }, | ||
| "targetName": { "type": "string" }, | ||
| "configuration": { "type": "string" }, | ||
| "platform": { "type": "string" }, | ||
| "target": { | ||
| "enum": ["simulator", "device", "macos", "swift-package"] | ||
| }, | ||
| "simulatorName": { "type": "string" }, | ||
| "simulatorId": { "type": "string" }, | ||
| "deviceId": { "type": "string" }, | ||
| "executableName": { "type": "string" }, | ||
| "arch": { "type": "string" }, | ||
| "derivedDataPath": { "type": "string" }, | ||
| "testProductsPath": { "type": "string" }, | ||
| "xctestrunPath": { "type": "string" }, | ||
| "onlyTesting": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| }, | ||
| "skipTesting": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "properties": { | ||
| "schema": { | ||
| "const": "xcodebuildmcp.output.build-result" | ||
| }, | ||
| "schemaVersion": { | ||
| "const": "3" | ||
| }, | ||
| "didError": { | ||
| "type": "boolean" | ||
| }, | ||
| "error": { | ||
| "type": ["string", "null"] | ||
| }, | ||
| "data": { | ||
| "anyOf": [ | ||
| { | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "request": { | ||
| "$ref": "#/$defs/buildInvocationRequest" | ||
| }, | ||
| "summary": { | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "status": { | ||
| "enum": ["SUCCEEDED", "FAILED"] | ||
| }, | ||
| "durationMs": { | ||
| "type": "integer", | ||
| "minimum": 0 | ||
| }, | ||
| "target": { | ||
| "enum": ["simulator", "device", "macos", "swift-package"] | ||
| } | ||
| }, | ||
| "required": ["status"] | ||
| }, | ||
| "artifacts": { | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "appPath": { "type": "string" }, | ||
| "bundleId": { "type": "string" }, | ||
| "buildLogPath": { "type": "string" }, | ||
| "packagePath": { "type": "string" }, | ||
| "workspacePath": { "type": "string" }, | ||
| "scheme": { "type": "string" }, | ||
| "configuration": { "type": "string" }, | ||
| "platform": { "type": "string" }, | ||
| "testProductsPath": { "type": "string" }, | ||
| "xctestrunPaths": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| } | ||
| }, | ||
| "required": [], | ||
| "minProperties": 1 | ||
| }, | ||
| "diagnostics": { | ||
| "$ref": "https://xcodebuildmcp.com/schemas/structured-output/_defs/common.schema.json#/$defs/basicDiagnostics" | ||
| } | ||
| }, | ||
| "required": ["summary", "artifacts", "diagnostics"] | ||
| }, | ||
| { | ||
| "type": "null" | ||
| } | ||
| ] | ||
| }, | ||
| "nextSteps": { | ||
| "$ref": "https://xcodebuildmcp.com/schemas/structured-output/_defs/common.schema.json#/$defs/nextSteps" | ||
| } | ||
| }, | ||
| "required": ["schema", "schemaVersion", "didError", "error", "data"] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.