Skip to content

fix: handle resolveToolResults event in tree builder#748

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/resolve-tool-results-v2
Mar 11, 2026
Merged

fix: handle resolveToolResults event in tree builder#748
FL4TLiN3 merged 1 commit intomainfrom
fix/resolve-tool-results-v2

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Add explicit handling for resolveToolResults event type in buildRunTreeFromEvents
  • This event fires after MCP tool execution and after resumeFromStop when all tool results are resolved
  • Without this handler, these events were silently ignored in the switch statement
  • Add test case covering both MCP tool and delegation resume scenarios

Test plan

  • bun test packages/tui-components/src/log-viewer/build-run-tree.test.ts — 14 tests pass
  • Verified with real job data containing resolveToolResults events

🤖 Generated with Claude Code

Add explicit handling for the resolveToolResults event type in
buildRunTreeFromEvents. This event fires after MCP tool execution
and after resumeFromStop when all tool results are resolved. Without
this handler, these events were silently ignored in the switch statement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) March 11, 2026 21:37
@FL4TLiN3 FL4TLiN3 merged commit 69df320 into main Mar 11, 2026
10 checks passed
@FL4TLiN3 FL4TLiN3 deleted the fix/resolve-tool-results-v2 branch March 11, 2026 21:38
@FL4TLiN3 FL4TLiN3 mentioned this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant