Skip to content

Emit tool call started events for long-running commands#326028

Draft
eleanorjboyd with Copilot wants to merge 2 commits into
mainfrom
copilot/emit-tool-call-started-event
Draft

Emit tool call started events for long-running commands#326028
eleanorjboyd with Copilot wants to merge 2 commits into
mainfrom
copilot/emit-tool-call-started-event

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Tool spans reach agent-traces.db only after completion, leaving long-running terminal commands unobservable while executing.

Changes

  • Emit copilot_chat.tool.call.started immediately after creating the tool span.
  • Include gen_ai.tool.name and gen_ai.tool.call.id for correlation.
  • Export and document the new event.
  • Add focused event payload coverage.

Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot July 15, 2026 18:54
Copilot AI changed the title [WIP] Add emit tool call starting event for better observability Emit tool call started events for long-running commands Jul 15, 2026
Copilot AI requested a review from eleanorjboyd July 15, 2026 18:55
@eleanorjboyd eleanorjboyd requested a review from zhichli July 15, 2026 20:25
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.

emit tool call starting event for better observability of long-running terminal commands

2 participants