Skip to content

Conversation

@sai-ray
Copy link

@sai-ray sai-ray commented Nov 7, 2025

Description of changes

Adds deployment status validation to the gen2-migration lock command to prevent locking when the CloudFormation stack is not in UPDATE_COMPLETE or CREATE_COMPLETE.

Added UX improvement with printer.success() to display validation success status.

Issue #, if available

Description of how you validated changes

  • Manual verification against real Amplify Gen1 projects.
  • All tests pass successfully with yarn test.

Checklist

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

@sai-ray sai-ray requested a review from a team as a code owner November 7, 2025 19:36
Copy link

Choose a reason for hiding this comment

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

There are no dependency changes for your code, so we should not modify the lockfile in this PR.

Copy link
Author

Choose a reason for hiding this comment

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

The lock.ts file has an import added to the code, wouldn't that warrant changes in the yarn.lock file? The Build and Test CI check is failing without it.

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