Repository navigation
Conversation
…mithy imports configuration.update() called v2's service.config.update, which v3 clients don't have, so any bot calling it crashed at load. Clients are now rebuilt when region or credentials actually change. The Lambda runtime only exposes @aws-sdk/* to function code, so bundles that leave the SDK to the runtime failed with "Cannot find module '@smithy/node-http-handler'". requestHandler is now passed as a plain options object, which the clients turn into a NodeHttpHandler themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This was referenced Oct 30, 2026
Draft
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
configuration.update()called v2'sservice.config.update, which v3 clients don't have, so any bot that calls it (bus-api, firehose_processor, s3-load-trigger) crashed at load. The DynamoDB, Kinesis, Firehose and S3 clients are now rebuilt when region or credentials actually change.leo.aws.s3/kinesis/firehoseare getters, so callers get the current client.@aws-sdk/*to function code. Bundles that leave the SDK to the runtime failed withCannot find module '@smithy/node-http-handler'.requestHandleris now a plain options object, which the clients turn into aNodeHttpHandlerthemselves.Testing
leo-sdk@7.1.22-awsv3node26.0(dist-tagawsv3node26;latestunchanged) and deployed in leo-bus 4.0.0 on nodejs26.x to the ClintTestBus test stack. bus-api (Kinesis, firehose and S3 write paths, read, checkpoint), the firehose → S3 load trigger → firehose processor chain, the install custom resource, cron and monitor all ran with no errors.Before merge
v7.1.22-awsv3node26.0git tag: the publish workflow strips the prerelease suffix and would publish plain7.1.22tolatest.🤖 Generated with Claude Code