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

Function annotateExecutionOutcome

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

Source from the content-addressed store, hash-verified

123 Effect.annotateCurrentSpan(executeOutcomeAttributes(result));
124
125const annotateExecutionOutcome = (execution: ExecutionResult) =>
126 execution.status === "paused"
127 ? Effect.annotateCurrentSpan({ "mcp.execute.outcome": "paused" })
128 : annotateExecuteOutcome(execution.result);
129
130// ---------------------------------------------------------------------------
131// Result formatting

Callers 1

createExecutionEngineFunction · 0.85

Calls 1

annotateExecuteOutcomeFunction · 0.85

Tested by

no test coverage detected