MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / annotateExecutionOutcome

Function annotateExecutionOutcome

packages/core/execution/src/engine.ts:120–123  ·  view source on GitHub ↗
(execution: ExecutionResult)

Source from the content-addressed store, hash-verified

118 Effect.annotateCurrentSpan(executeOutcomeAttributes(result));
119
120const annotateExecutionOutcome = (execution: ExecutionResult) =>
121 execution.status === "paused"
122 ? Effect.annotateCurrentSpan({ "mcp.execute.outcome": "paused" })
123 : annotateExecuteOutcome(execution.result);
124
125// ---------------------------------------------------------------------------
126// Result formatting

Callers 1

createExecutionEngineFunction · 0.85

Calls 1

annotateExecuteOutcomeFunction · 0.85

Tested by

no test coverage detected