Skip to content

aio app undeploy does not complete undeployment if an error occurs #880

@shazron

Description

@shazron

Description

If you encountered an error during aio app undeploy, for example if an action does not exist (it may have been manually deleted), it errors out and does not continue undeploying the rest.

There is no point in stopping undeploy since there is no rollback.
If we have to undeploy A, B, C, D, E and it errors during C -- A and B have already been undeployed, and D, and E are left undeployed.

Proposed fix

If an error occurs during undeploy, we continue with the rest of the undeployment, and just log the error - but the return code should be 0 (success).

Only this specific type of error will allow the command to continue (and be successful) any other type of error, it will be thrown.

Workaround

Deleting everything in the package may help:
aio rt package delete YOUR_PACKAGE_NAME_HERE --recursive

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions