n8n/packages/@n8n/instance-ai/evaluations/run
Claude d3bc90a777
feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog)
Correlate tool_result events back to their tool_use by id and record every
is_error result as {tool, message} (message truncated to 500 chars; string
and text-block-array contents both handled). The failure list rides next to
toolCalls through the whole spend pipeline: buildToolErrorsPerRun per case
and per-tool error counts in summary.mcpBuild.toolErrors in
eval-results.json, a build_tool_errors count as LangSmith row feedback plus
per-tool totals in experiment metadata, and per-build lists + totals in the
manifest builder's stats sidecar. Timed-out builds keep contributing the
errors their partial stream recorded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GA23ytEUfHpzkv7meRdVAJ
2026-07-31 13:32:37 +03:00
..
aggregator.ts
build-orchestrator.ts feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog) 2026-07-31 13:32:37 +03:00
case-pipeline.ts feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog) 2026-07-31 13:32:37 +03:00
case-selection.ts
ci-metadata.ts
direct-driver.ts refactor(ai-builder): Split the eval harness runner into domain modules (no-changelog) (#34834) 2026-07-27 09:01:09 +00:00
eval-session.ts fix(ai-builder): Route eval report artifacts through --output-dir (no-changelog) (#35083) 2026-07-29 11:04:42 +00:00
iterations.ts
lane-allocator.ts
lane-setup.ts
langsmith-driver.ts feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog) 2026-07-31 13:32:37 +03:00
persist.ts feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog) 2026-07-31 13:32:37 +03:00
reporters.ts fix(ai-builder): Route eval report artifacts through --output-dir (no-changelog) (#35083) 2026-07-29 11:04:42 +00:00
reshape.ts feat(instance-ai): Record errored MCP build tool calls with messages (no-changelog) 2026-07-31 13:32:37 +03:00
rows.ts feat(ai-builder): Harden the eval harness — crash-recovery journal, parity fixes, extension points (no-changelog) (#34747) 2026-07-23 12:25:55 +00:00
tiers.ts feat(ai-builder): Harden the eval harness — crash-recovery journal, parity fixes, extension points (no-changelog) (#34747) 2026-07-23 12:25:55 +00:00