[solution]
Runs restore, build, and test as one ordered GliderTrace session. It stops at the first stage that fails. The verdict names that stage, its first cause, and the Glider symbolKey the cause maps to.
Command and test failures need reproducible execution plus stored stdout, stderr, test, and trace evidence.
The model can create durable sessions instead of relying on transient terminal output pasted into a prompt.
Try it locally in the GliderTrace playground
| Name | Type | Required | Description |
|---|---|---|---|
| targetPath | string | No | Optional solution, project, or directory path under the workspace root. Defaults to the workspace root. |
| configuration | string | No | Build and test configuration. Defaults to Release. |
| restore | boolean | No | Run the restore stage first. When true, build and test skip their own restore. Defaults to true. |
| build | boolean | No | Run the build stage. Defaults to true. |
| test | boolean | No | Run the test stage. Defaults to true. |
| restoreTimeoutMs | number | No | Optional restore-stage timeout in milliseconds. |
| buildTimeoutMs | number | No | Optional build-stage timeout in milliseconds. |
| solutionPath | string | No | Optional solution or project path used to correlate the attributed cause to a Glider symbol. |
| label | string | No | Optional short label for the stored session, for example nightly-baseline. Use it to find the session again with trace_list_sessions. Maximum 128 characters. |
| profile | string | No | Optional named MSBuild property profile applied to the restore and build stages, and to the test stage when build is false. Use 'worktree' to accommodate a Git worktree checkout. |
Run restore, build, and test as one pipeline
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_pipeline",
"arguments": {}
}
}Run the pipeline with the worktree profile
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_pipeline",
"arguments": {
"profile": "worktree"
}
}
}Skip restore and run build then test
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_pipeline",
"arguments": {
"restore": false
}
}
}Returns a pipeline session id, an overall status, and a passed flag. It lists each stage with its status and child session id. The verdict names the failed stage, first cause, symbolKey, and whether that stage evidence was complete.