feat(anthropic): Emit AI Client Spans for synchronous messages.stream()
#5565
+660
−28
@sentry/warden / warden: find-bugs
completed
Mar 13, 2026 in 7m 8s
1 issue
find-bugs: Found 1 issue (1 low)
Low
Test comment contains copy-paste error with function name instead of expected value - `tests/integrations/anthropic/test_anthropic.py:2919`
Line 2919 has a comment that reads # input_tokens should be total: 19 + 2846 = test_stream_messages_input_tokens_include_cache_read_streaming instead of the correct # input_tokens should be total: 19 + 2846 = 2865. This appears to be a copy-paste error where the function name was accidentally included. While this doesn't affect test behavior, it could confuse future developers trying to understand the expected calculation.
Duration: 7m 7s · Tokens: 2.6M in / 24.7k out · Cost: $3.23 (+extraction: $0.00, +fix_gate: $0.00)
Loading