@W-20452321: migrate aws-sdk from v2 to v3#3562
Closed
o-olaosebikan wants to merge 5 commits intoSalesforceCommerceCloud:developfrom
Closed
@W-20452321: migrate aws-sdk from v2 to v3#3562o-olaosebikan wants to merge 5 commits intoSalesforceCommerceCloud:developfrom
o-olaosebikan wants to merge 5 commits intoSalesforceCommerceCloud:developfrom
Conversation
|
Thanks for the contribution! It looks like @o-olaosebikan is an internal user so signing the CLA is not required. However, we need to confirm this. |
Collaborator
✅ 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 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.
Migrate AWS SDK FROM Version 2 TO Version 3
Description
End of life support FOR AWS-SDK was reached on September 8, 2025
The JS AWS SDK is used to send metrics to cloudwatch from pwa kit runtime library. The goal is to update the library to use v3 version. We utilize codemod scripts for the migration (recommended by AWS) and manually adjust discrepancies between the two versions
Types of Changes
Changes
client-cloudwatchinstead for v3How to Test-Drive This PR
npm installandnpm ciat the rootpackages/template-mrt-reference-appcurl -s -o /dev/null -w "%{http_code}\n" https://{project}-{target}.[mobify-storefront-staging.com](http://mobify-storefront-staging.comWait for a few minutes and then check your subaccount of the target for the following metrics
Cloudwatch > Metrics > ssr > Project, TargetEnsure
RequestTimeandRequestSuccessare displayed in metricscurl -s -o /dev/null -w "%{http_code}\n" https://{project}-{target}.[mobify-storefront-staging.com](http://mobify-storefront-staging.com/exceptionWait for a few minutes and then check your subaccount of the target for the following metrics
Cloudwatch > Metrics > ssr > Project, TargetEnsure
RequestTimeandRequestFailed500are displayed in metricsChecklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization