trace_pipeline

[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.

Why this tool exists

Command and test failures need reproducible execution plus stored stdout, stderr, test, and trace evidence.

How it helps the agent

The model can create durable sessions instead of relying on transient terminal output pasted into a prompt.

Try it locally in the GliderTrace playground

Parameters

NameTypeRequiredDescription
targetPathstringNoOptional solution, project, or directory path under the workspace root. Defaults to the workspace root.
configurationstringNoBuild and test configuration. Defaults to Release.
restorebooleanNoRun the restore stage first. When true, build and test skip their own restore. Defaults to true.
buildbooleanNoRun the build stage. Defaults to true.
testbooleanNoRun the test stage. Defaults to true.
restoreTimeoutMsnumberNoOptional restore-stage timeout in milliseconds.
buildTimeoutMsnumberNoOptional build-stage timeout in milliseconds.
solutionPathstringNoOptional solution or project path used to correlate the attributed cause to a Glider symbol.
labelstringNoOptional short label for the stored session, for example nightly-baseline. Use it to find the session again with trace_list_sessions. Maximum 128 characters.
profilestringNoOptional 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.

Examples

Run restore, build, and test as one pipeline

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_pipeline",
    "arguments": {}
  }
}

Run the pipeline with the worktree profile

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_pipeline",
    "arguments": {
      "profile": "worktree"
    }
  }
}

Skip restore and run build then test

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trace_pipeline",
    "arguments": {
      "restore": false
    }
  }
}

Response Notes

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.

↑/↓ NavigateEnter OpenSpace Expand