Skip to content

ref(attributes): Enforce sentry conventions in AI-workflow integrations - #8410

Draft
srothh wants to merge 2 commits into
srothh/add-conventions-dependencyfrom
srothh/conventions-ai-workflow-integrations
Draft

srothh wants to merge 2 commits into
srothh/add-conventions-dependencyfrom
srothh/conventions-ai-workflow-integrations

Conversation

@srothh

@srothh srothh commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Description

Enforce sentry-conventions attribute names in AI-workflow integrations (langchain, langgraph, openai_agents, pydantic_ai).

Issues

#8323
PY-3090

Enforce sentry-conventions attribute names in AI-workflow integrations (langchain, langgraph, openai_agents, pydantic_ai).

#8323
PY-3090
@linear-code

linear-code Bot commented Nov 26, 2026

Copy link
Copy Markdown

PY-3090

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 58980 passed | ❌ 1 failed | ⏭️ 3046 skipped | Total: 62027 | Pass Rate: 95.09% | Execution Time: 159m 29s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -549
Passed Tests 📉 -477
Failed Tests 📈 +1
Skipped Tests 📉 -73

➕ New Tests (1)

View new tests
  • test_cron_job_ok
    • File: tests.integrations.arq.test_arq_crons
    • Status: ❌ Failing

❌ Failed Tests

test_cron_job_ok

File: tests.integrations.arq.test_arq_crons
Suite: py3.13-arq-v0.28.0
Error: ValueError: too many values to unpack (expected 2)

Stack Trace
tests/integrations/arq/test_arq_crons.py:84: in test_cron_job_ok
    in_progress, ok = _check_ins(envelopes)
    ^^^^^^^^^^^^^^^
E   ValueError: too many values to unpack (expected 2)

✅ Patch coverage is 100.00% (64 of 64 changed executable lines covered; target 80%).
Project statement coverage is 90.09%.

Changed files with executable lines (14)
File Patch coverage Changed executable lines
sentry_sdk/integrations/langchain.py 100.00% 18/18 covered
sentry_sdk/integrations/langgraph.py 100.00% 5/5 covered
sentry_sdk/integrations/openai_agents/patches/agent_run.py 100.00% 2/2 covered
sentry_sdk/integrations/openai_agents/patches/models.py 100.00% 2/2 covered
sentry_sdk/integrations/openai_agents/patches/runner.py 100.00% 2/2 covered
sentry_sdk/integrations/openai_agents/spans/ai_client.py 100.00% 8/8 covered
sentry_sdk/integrations/openai_agents/spans/execute_tool.py 100.00% 5/5 covered
sentry_sdk/integrations/openai_agents/spans/invoke_agent.py 100.00% 3/3 covered
sentry_sdk/integrations/openai_agents/utils.py 100.00% 4/4 covered
sentry_sdk/integrations/pydantic_ai/spans/ai_client.py 100.00% 4/4 covered
sentry_sdk/integrations/pydantic_ai/spans/execute_tool.py 100.00% 4/4 covered
sentry_sdk/integrations/pydantic_ai/spans/invoke_agent.py 100.00% 1/1 covered
sentry_sdk/integrations/pydantic_ai/spans/utils.py 100.00% 4/4 covered
sentry_sdk/integrations/pydantic_ai/utils.py 100.00% 2/2 covered

Generated by Coverage Action

Enforce sentry-conventions attribute names in AI-workflow integration tests
(langchain, langgraph, openai_agents, pydantic_ai).

#8323
PY-3090

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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