-
Notifications
You must be signed in to change notification settings - Fork 820
refactor: amplify-category-notifications aws sdk v3 migration #14271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: amplify-category-notifications aws sdk v3 migration #14271
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some suggestions for improvements and questions
packages/amplify-category-notifications/src/__tests__/channel-apns.test.ts
Show resolved
Hide resolved
9e2c76c
to
712d1a3
Compare
712d1a3
to
58e77c8
Compare
…n stacks are stuck - Add failure predicate to treat _IN_PROGRESS states as failed after timeout - Reduce timeout to 15 minutes to fail faster on stuck operations - Prevents Jest worker processes from being killed due to hanging deletions
packages/amplify-category-notifications/src/__tests__/channel-apns.test.ts
Outdated
Show resolved
Hide resolved
packages/amplify-category-notifications/src/__tests__/channel-apns.test.ts
Outdated
Show resolved
Hide resolved
packages/amplify-category-notifications/src/__tests__/channel-fcm.test.ts
Show resolved
Hide resolved
- Add sendEof() to In-App Messaging case to prevent hanging processes - Add notifications-analytics-compatibility-in-app-2.test.ts to RUN_SOLO to prevent Jest worker memory issues
6e7eed1
to
ae486c9
Compare
ff7e800
to
53e973b
Compare
1ece5b1
to
c9528db
Compare
464ad5f
to
7499c10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, my comments are mostly questions.
You should merge dev
into this branch to get rid of the merge conflicts.
packages/amplify-category-notifications/src/__tests__/channel-fcm.test.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, nice job!
Remember to run PR testing on this
…#14271)" (#14285) This reverts commit 2d0c169. Co-authored-by: aws-amplify-bot <[email protected]>
refactor: start notifications category migration
refactor: migrate pinpoint-helper to sdk v3
refactor: migrate channel handlers to sdk v3
refactor: migrate auth-helper to sdk v3
refactor: update test mocks for sdk v3
refactor: migrate cli logout command to sdk v3
refactor: migrate e2e-core pinpoint utils to sdk v3
fix: update package dependencies
fix: correct client import names
fix: yarn lock updates
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.