Skip to content

feat(server-utils): Port S3, Kinesis, DynamoDB, SecretsManager and StepFunctions aws-sdk extensions#22164

Open
andreiborza wants to merge 9 commits into
ab/aws-sdk-server-utilsfrom
ab/aws-sdk-services
Open

feat(server-utils): Port S3, Kinesis, DynamoDB, SecretsManager and StepFunctions aws-sdk extensions#22164
andreiborza wants to merge 9 commits into
ab/aws-sdk-server-utilsfrom
ab/aws-sdk-services

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 9, 2026

Copy link
Copy Markdown
Member

Ports the attribute-only service extensions from the OTel aws-sdk integration to the orchestrion channel integration and registers them in the service registry:

  • S3: aws.s3.bucket
  • Kinesis: aws.kinesis.stream.name
  • DynamoDB: db.* and aws.dynamodb.* request/response attributes
  • SecretsManager: aws.secretsmanager.secret.arn (request and response)
  • StepFunctions: state machine / activity ARNs

Straight ports; none of these inject trace propagation or change span lifecycle.

Part of #20946

@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch 3 times, most recently from c3ac3ce to 0e20b44 Compare July 9, 2026 21:48
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.65 kB - -
@sentry/browser - with treeshaking flags 26.1 kB - -
@sentry/browser (incl. Tracing) 46.42 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.21 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.2 kB - -
@sentry/browser (incl. Tracing, Replay) 85.67 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.31 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.38 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.04 kB - -
@sentry/browser (incl. Feedback) 44.83 kB - -
@sentry/browser (incl. sendFeedback) 32.45 kB - -
@sentry/browser (incl. FeedbackAsync) 37.58 kB - -
@sentry/browser (incl. Metrics) 28.74 kB - -
@sentry/browser (incl. Logs) 28.98 kB - -
@sentry/browser (incl. Metrics & Logs) 29.67 kB - -
@sentry/react 29.45 kB - -
@sentry/react (incl. Tracing) 48.68 kB - -
@sentry/vue 33.08 kB - -
@sentry/vue (incl. Tracing) 48.4 kB - -
@sentry/svelte 27.67 kB - -
CDN Bundle 30.05 kB - -
CDN Bundle (incl. Tracing) 48.41 kB - -
CDN Bundle (incl. Logs, Metrics) 31.64 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.71 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.87 kB - -
CDN Bundle (incl. Tracing, Replay) 85.9 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.7 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.97 kB - -
CDN Bundle - uncompressed 89.58 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.33 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.29 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.31 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.02 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.54 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.5 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 283.19 kB - -
@sentry/nextjs (client) 51.22 kB - -
@sentry/sveltekit (client) 46.86 kB - -
@sentry/core/server 78.51 kB - -
@sentry/core/browser 64.86 kB - -
@sentry/node-core 62.79 kB -0.01% -1 B 🔽
@sentry/node 125.2 kB - -
@sentry/node (incl. diagnostics channel injection) 142.16 kB +1.38% +1.94 kB 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.96 kB - -
@sentry/node/light 50.8 kB - -
@sentry/node - without tracing 74.17 kB - -
@sentry/aws-serverless 83.38 kB -0.01% -4 B 🔽
@sentry/cloudflare (withSentry) - minified 181.79 kB - -
@sentry/cloudflare (withSentry) 449.98 kB - -

View base workflow run

@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch 3 times, most recently from 078c598 to 979ee5c Compare July 9, 2026 22:31
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from 979ee5c to e88a652 Compare July 9, 2026 22:46

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 4 potential issues.

There are 11 total unresolved issues (including 7 from previous reviews).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e88a652. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 8 total unresolved issues (including 7 from previous reviews).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e88a652. Configure here.

@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch 4 times, most recently from 07afc91 to 36d9255 Compare July 10, 2026 12:14
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from 52e07f6 to 69d0289 Compare July 10, 2026 12:14
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch 2 times, most recently from c61e735 to 7248300 Compare July 10, 2026 14:48
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch 2 times, most recently from 69d0289 to 9510b15 Compare July 10, 2026 18:04
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from 7248300 to 50ce000 Compare July 10, 2026 18:04
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from 9510b15 to 61916ca Compare July 11, 2026 22:42
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch 2 times, most recently from 03eeceb to fdd83ff Compare July 13, 2026 09:17
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from 61916ca to 828e59f Compare July 13, 2026 09:17
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from fdd83ff to 735d2d1 Compare July 13, 2026 09:38
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from 88e502d to cdb3108 Compare July 14, 2026 12:21
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from 735d2d1 to 36efbe1 Compare July 14, 2026 14:00
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from 36efbe1 to ab30850 Compare July 14, 2026 21:20
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from cdb3108 to 1f13ab5 Compare July 14, 2026 21:20
@andreiborza andreiborza marked this pull request as ready for review July 14, 2026 23:34
@andreiborza andreiborza requested a review from a team as a code owner July 14, 2026 23:34
@andreiborza andreiborza requested review from JPeer264, chargome, msonnb and stephanie-anderson and removed request for a team and stephanie-anderson July 14, 2026 23:34
andreiborza and others added 8 commits July 15, 2026 09:59
Reverts the makeSafeSpanBuilder extraction (and the graphql change that came
with it) in favor of plain try/catch blocks at the three guard sites. The
post-span hook and region provider keep their own guards so a throw there
cannot discard the already-started span via the outer catch.
…epFunctions aws-sdk extensions

Ports the attribute-only service extensions from the OTel aws-sdk integration to
the orchestrion channel integration and registers them in the service registry:

- S3: `aws.s3.bucket`
- Kinesis: `aws.kinesis.stream.name`
- DynamoDB: `db.*` and `aws.dynamodb.*` request/response attributes
- SecretsManager: `aws.secretsmanager.secret.arn` (request and response)
- StepFunctions: state machine / activity ARNs

Straight ports; none of these inject trace propagation or change span lifecycle.

Part of #20946

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@andreiborza andreiborza force-pushed the ab/aws-sdk-server-utils branch from 1f13ab5 to 95b65dd Compare July 15, 2026 07:59
@andreiborza andreiborza force-pushed the ab/aws-sdk-services branch from e8972a4 to f088bfb Compare July 15, 2026 07:59
@andreiborza andreiborza requested a review from nicohrubec July 15, 2026 09:11
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