Skip to content

test(openai): Stop directly calling _calculate_*_token_usage() #4456

test(openai): Stop directly calling _calculate_*_token_usage()

test(openai): Stop directly calling _calculate_*_token_usage() #4456

Triggered via pull request October 6, 2026 13:35
Status Success
Total duration 13m 5s
Artifacts 2

test.yml

on: pull_request
Matrix: Agents / Agents
Matrix: AI / AI
Matrix: AI Workflow / AI Workflow
Matrix: Cloud / Cloud
Matrix: Common / Common
Matrix: DBs / DBs
Matrix: Flags / Flags
Matrix: Gevent / Gevent
Matrix: GraphQL / GraphQL
Matrix: MCP / MCP
Matrix: Misc / Misc
Matrix: Network / Network
Matrix: Tasks / Tasks
Matrix: Web 1 / Web 1
Matrix: Web 2 / Web 2
Combine and report coverage
39s
Combine and report coverage
All tests passed
3s
All tests passed
Fit to window
Zoom out
Zoom in

Annotations

1 warning
Combine and report coverage
Patch coverage defaulted to 100% because no changed files matched coverage data. Unmatched diff files: tests/conftest.py, tests/integrations/langchain/test_langchain.py, tests/integrations/litellm/test_litellm.py, tests/integrations/openai/test_openai.py, tests/integrations/openai_agents/test_openai_agents.py Sample coverage paths: sentry_sdk/__init__.py, sentry_sdk/_batcher.py, sentry_sdk/_compat.py This usually indicates a path format mismatch between your coverage tool and the repository.

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-webb-openai-chat-completions-tokens-report
107 KB
sha256:ad2cd1908251c405e2fb2e5b8f4965d94d8805aab59d59d48c1961452c94aee2
codecov-test-results-webb-openai-chat-completions-tokens-report
256 Bytes
sha256:291ccbaa3050338c3bd4b4c75f415dab10df1e8ea5c4ef5e68f20ce21984b41c