Skip to content

ref(attributes): Enforce sentry-cnventions in cloud integrations - #8411

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

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

Conversation

@srothh

@srothh srothh commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Description

Enforce sentry conventions attribute names in cloud integrations (aws_lambda, boto3, chalice, gcp)

Issues

#8323
PY-3090

Enforce sentry conventions attribute names in cloud integrations (aws_lambda, boto3, chalice, gcp)

#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 📊

✅ 59097 passed | ❌ 1 failed | ⏭️ 3029 skipped | Total: 62127 | Pass Rate: 95.12% | Execution Time: 158m 48s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -449
Passed Tests 📉 -360
Failed Tests 📈 +1
Skipped Tests 📉 -90

➕ New Tests (1)

View new tests
  • test_no_process_span_without_messages
    • File: tests.integrations.aws_lambda.test_aws_lambda
    • Status: ❌ Failing

❌ Failed Tests

test_no_process_span_without_messages

File: tests.integrations.aws_lambda.test_aws_lambda
Suite: py3.11-aws_lambda
Error: ValueError: too many values to unpack (expected 1)

Stack Trace
tests/integrations/aws_lambda/test_aws_lambda.py:971: in test_no_process_span_without_messages
    (span,) = test_environment["server"].span_items
    ^^^^^^^
E   ValueError: too many values to unpack (expected 1)

✅ Patch coverage is 91.75% (89 of 97 changed executable lines covered; target 80%).
Project statement coverage is 90.12%.

Changed files with executable lines (13)
File Patch coverage Changed executable lines
sentry_sdk/integrations/gcp.py 16.67% 1/6 covered; missed: 97, 109, 125, 130, 135
sentry_sdk/integrations/aws_lambda/_handler.py 25.00% 1/4 covered; missed: 200, 213, 241
sentry_sdk/integrations/boto3/_instrumentation.py 100.00% 9/9 covered
sentry_sdk/integrations/boto3/_services/bedrock.py 100.00% 12/12 covered
sentry_sdk/integrations/boto3/_services/kinesis.py 100.00% 2/2 covered
sentry_sdk/integrations/boto3/services/lambda.py 100.00% 10/10 covered
sentry_sdk/integrations/boto3/_services/s3.py 100.00% 10/10 covered
sentry_sdk/integrations/boto3/_services/secretsmanager.py 100.00% 5/5 covered
sentry_sdk/integrations/boto3/_services/sns.py 100.00% 12/12 covered
sentry_sdk/integrations/boto3/_services/sqs.py 100.00% 15/15 covered
sentry_sdk/integrations/boto3/_services/stepfunctions.py 100.00% 7/7 covered
sentry_sdk/integrations/boto3/_utils.py 100.00% 3/3 covered
sentry_sdk/integrations/chalice.py 100.00% 2/2 covered

Generated by Coverage Action

Enforce sentry-conventions attribute names in cloud integration tests
(aws_lambda, boto3, chalice, gcp).

#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