Skip to content

Conversation

@ShadowCat567
Copy link
Contributor

@ShadowCat567 ShadowCat567 commented Jul 9, 2025

Description of changes

Migrating:

  • amplify-e2e-core
  • amplify-e2e-tests
  • amplify-category-hosting
  • amplfiy-container-hosting
  • any remaining infrastructure that uses AWS SDK V2

Removed 2 files:

  • packages/amplify-e2e-tests/functions/dynamodb-scan-v2.js -- tested the Scan Command in DynamoDB in AWS SDK V2. This is not being used by any files, removed it
  • packages/amplify-provider-awscloudformation/src/aws-utils/aws.js -- this used to be the heart of the AWS SDK V2 configuration in the amplify-provider-awscloudformation package. Since everything has been migrated to V2, nothing uses this any more.

Changes to CodeBuild Clean up Script:
Removed functionality to check whether a Codebuild job is currently running before deleting its resources. The overhead of getting information about Codebuild jobs to see whether they were completed or not was consuming too much memory ever since the migration to V3.
The Codebuild spec for our e2e tests already ensures that the clean up resources job does not run until all the other jobs have been completed and the cleanup script already skips cleaning up stacks that were created in the last 2 hours, so I think we are safe to remove this functionality for better memory usage.

Had to downgrade pinpoint-client back to an older version since the newest versions seem to break some of our notifications e2e tests.

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ShadowCat567 ShadowCat567 changed the title refactor: e2e-core, e2e-tests, and provider-awscloudformation [ON HOLD] refactor: e2e-core and e2e-tests Jul 11, 2025
@ShadowCat567 ShadowCat567 changed the title [ON HOLD] refactor: e2e-core and e2e-tests [ON HOLD] refactor: e2es and anything else that remains Oct 27, 2025
@ShadowCat567 ShadowCat567 changed the title [ON HOLD] refactor: e2es and anything else that remains refactor: e2es and anything else that remains Oct 27, 2025
@ShadowCat567 ShadowCat567 marked this pull request as ready for review October 29, 2025 15:28
@ShadowCat567 ShadowCat567 requested a review from a team as a code owner October 29, 2025 15:28
@ShadowCat567
Copy link
Contributor Author

Passing e2e run: https://tiny.amazon.com/18bzvkw3i/IsenLink

svidgen
svidgen previously approved these changes Oct 29, 2025
@ShadowCat567 ShadowCat567 merged commit b169eb9 into dev Oct 30, 2025
6 checks passed
@ShadowCat567 ShadowCat567 deleted the sdk-migrations-2 branch October 30, 2025 14:45
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.

2 participants