Skip to content

fix(apps): roll back endpoint changes when deployment fails - #724

Open
KAJdev wants to merge 11 commits into
mainfrom
zeke/con-2174-partial-failure-during-rp-flash-deploy-leaves
Open

KAJdev wants to merge 11 commits into
mainfrom
zeke/con-2174-partial-failure-during-rp-flash-deploy-leaves

Conversation

@KAJdev

@KAJdev KAJdev commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

When reconciling endpoint updates when deploying a flash app, if something fails, will completely roll back any completed operations (updates & creations) and then stop the deploy.

A recovered failure ends with:

Error: Couldn't deploy 'b_bad': quota exceeded
Changes rolled back.

Obsolete endpoints are removed after the deployment succeeds. If that cleanup fails, the deployed app stays in place and the error identifies the endpoint that could not be removed.

Also now runs a parser over everything before attempting the deploy to catch easy validation issues before getting caught mid deploy.

Fixes CON-2174

@KAJdev KAJdev changed the title fix(apps): roll back new endpoints when deployment fails fix(apps): roll back endpoint changes when deployment fails Nov 13, 2026
Comment thread runpod/apps/deploy.py Fixed
Comment thread runpod/apps/spec.py Resolved
Comment thread runpod/apps/deploy.py Resolved
Comment thread runpod/apps/deploy.py Resolved
Comment thread runpod/apps/deploy.py Resolved
@KAJdev
KAJdev requested a review from deanq November 17, 2026 22:09
Comment thread runpod/apps/deploy.py Resolved
@KAJdev
KAJdev requested a review from deanq November 19, 2026 22:37
Comment thread runpod/apps/deploy.py Fixed
Comment thread runpod/apps/deploy.py Resolved
@KAJdev
KAJdev requested a review from deanq November 20, 2026 18:19
Comment thread runpod/apps/deploy.py Resolved
@KAJdev
KAJdev requested a review from deanq November 21, 2026 00:57

This branch has not been deployed

No deployments
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.

3 participants