aws-amplify / aws-amplify/amplify-cli
Reconnect to in progress deployment automatically
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
_No response_
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
When you lose connection during a deploy you get an ugly message (which should probably be cleaned up to just say - connection lost)...but...then when you try to push again you get:
A deployment is in progress.
If the prior rollback was aborted, run:
"amplify push --iterative-rollback" to rollback the prior deployment
"amplify push --force" to re-deploy
There is no option for reconnect to deployment in progress...which I think should just happen automatically when you run push and there is a deploy in progress...
### Describe the solution you'd like
When deploying after a disconnect - it should show the previous deployment output, or reconnect if it is still in progress...
### Describe alternatives you've considered
Another way would be to have amplify push --reconnect
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start at the amplify push entry point and reproduce the disconnected deployment scenario, including the existing --iterative-rollback and --force paths. Trace how deployment status and output are handled after the connection is lost; done means a subsequent push reconnects to an in-progress deployment or shows its previous output instead of only reporting that a deployment is in progress.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cli, cloud, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100