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

Function annotateExecutionOutcome

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

Source from the content-addressed store, hash-verified

131 Effect.annotateCurrentSpan(executeOutcomeAttributes(result));
132
133const annotateExecutionOutcome = (execution: ExecutionResult) =>
134 execution.status === "paused"
135 ? Effect.annotateCurrentSpan({ "mcp.execute.outcome": "paused" })
136 : annotateExecuteOutcome(execution.result);
137
138// ---------------------------------------------------------------------------
139// Result formatting

Callers 1

createExecutionEngineFunction · 0.85

Calls 1

annotateExecuteOutcomeFunction · 0.85

Tested by

no test coverage detected