Skip to content

feat(aws-lambda): Add API-driven pipeline backend

6e15840
Select commit
Loading
Failed to load commit list.
Merged

feat(aws-lambda): Add API-driven pipeline backend #112626

feat(aws-lambda): Add API-driven pipeline backend
6e15840
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden completed Apr 10, 2026 in 4m 7s

1 issue

Medium

Unhandled ClientError in InstrumentationApiStep.get_step_data causes 500 errors - `src/sentry/integrations/aws_lambda/integration.py:305-306`

InstrumentationApiStep.get_step_data() calls gen_aws_client() and get_supported_functions() without exception handling. If AWS credentials expire or become invalid between the CloudFormation step and this step (e.g., STS token timeout, permission revocation), or if there's a transient network issue, the code throws an unhandled ClientError. This crashes the request with a 500 error instead of returning a user-friendly error message. The same gen_aws_client() call in CloudFormationApiStep.handle_post() properly wraps exceptions.

Also found at:

  • src/sentry/integrations/aws_lambda/integration.py:342-344
2 skills analyzed
Skill Findings Duration Cost
sentry-security 0 4m 3s $1.77
sentry-backend-bugs 1 3m 51s $1.32

Duration: 7m 54s · Tokens: 2.6M in / 20.3k out · Cost: $3.09 (+extraction: $0.01, +merge: $0.00, +dedup: $0.00)