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

Function annotateExecuteOutcome

packages/core/execution/src/engine.ts:72–77  ·  view source on GitHub ↗
(result: ExecuteResult)

Source from the content-addressed store, hash-verified

70 * error message itself.
71 */
72const annotateExecuteOutcome = (result: ExecuteResult) =>
73 Effect.annotateCurrentSpan(
74 result.error
75 ? { "mcp.execute.outcome": "fail", "mcp.execute.error_kind": result.errorKind ?? "unknown" }
76 : { "mcp.execute.outcome": "ok" },
77 );
78
79const annotateExecutionOutcome = (execution: ExecutionResult) =>
80 execution.status === "paused"

Callers 2

annotateExecutionOutcomeFunction · 0.85
createExecutionEngineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected