Skip to content

fix: Align Anthropic auto-instrumentation with wrappers#1639

Open
Luca Forstner (lforst) wants to merge 3 commits intomainfrom
lforst/anthropic-tool-parity
Open

fix: Align Anthropic auto-instrumentation with wrappers#1639
Luca Forstner (lforst) wants to merge 3 commits intomainfrom
lforst/anthropic-tool-parity

Conversation

@lforst
Copy link
Member

@lforst Luca Forstner (lforst) commented Mar 23, 2026

This PR brings Anthropic auto-instrumentation in line with the wrapper path and makes the parity contract explicit.

  • Reuse one Anthropic e2e scenario for wrapper and node-hook coverage
  • Snapshot both paths against the same span and payload contract
  • Add streamed tool-use coverage to the shared Anthropic scenario
  • Teach auto-instrumentation to aggregate streamed tool_use blocks fully
  • Favor semantic payload snapshots over merge-row noise so diffs stay obvious

Fixes #1622

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.

Anthropic auto-instrumentation plugin drops tool_use output in streaming aggregation

1 participant