Open
Description
When customers run copilot app delete
, Copilot will delete all the application resources, as well as the .workpace
file under copilot/
folder.
However, there are times when customers perform manual deletions instead of copilot app delete
, or something interrupted during the execution of copilot app delete
. These may end up in a state where the app has actually been deleted, but the .workspace
file lingers. #3262 is an example. This may bring confusion to customers.
I proposal Copilot surface better error message / recommended actions when:
- It's found a
.workspace
file - It is not able to find the application indicated by the
.workspace
file
In this case, we can provide recommended actions:
- To suggest deleting
.workspace
file if customer knows they've attempted toapp delete
beforeapp init
- Suggest switching region otherwise.
Activity