Title: A redeploy whose release command fails leaves its copy behind, and a rollback can start it · Issue #373 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A redeploy whose release command fails leaves its copy behind, and a rollback can start it · Issue #373 · cloudfall-dev/cloudfall
X Title: A redeploy whose release command fails leaves its copy behind, and a rollback can start it · Issue #373 · cloudfall-dev/cloudfall
Description: Found in the review of #371 at eb73606; it is older than that PR. Problem When the release command fails during a redeploy of the same release id, the redeploy copy is not removed: engine/ansible/roles/cloudfall_deploy/tasks/release_comm...
Open Graph Description: Found in the review of #371 at eb73606; it is older than that PR. Problem When the release command fails during a redeploy of the same release id, the redeploy copy is not removed: engine/ansible/r...
X Description: Found in the review of #371 at eb73606; it is older than that PR. Problem When the release command fails during a redeploy of the same release id, the redeploy copy is not removed: engine/ansible/r...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/373
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A redeploy whose release command fails leaves its copy behind, and a rollback can start it","articleBody":"Found in the review of #371 at eb73606; it is older than that PR.\n\n## Problem\n\nWhen the release command fails during a redeploy of the same release id, the redeploy copy is not removed: `engine/ansible/roles/cloudfall_deploy/tasks/release_command.yml` (about line 70) runs outside the block whose rescue removes a failed redeploy copy. Once #371 lands, the copy's environment file (`\u003ccomponent>.\u003crelease>.redeploy-\u003ctime>.env`) stays behind with it.\n\nA later `cloudfall rollback --release \u003cid>` then picks that copy, which never passed its release command or its gate, and starts it.\n\n## Proposal\n\n- Bring the release command inside the block whose rescue removes a failed redeploy copy and its environment file, or give it the same cleanup\n- A test: a redeploy whose release command exits 1 leaves no redeploy copy and no redeploy environment file, and a rollback to that release id picks the copy that passed\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T17:37:35Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/373"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ebbffca8-938b-da0a-7412-772b0eb208ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1D0:647A8:966607:D099C4:6B059F07 |
| html-safe-nonce | ce505711080b011ef24113f6affe817aed60e08a458c2393caed60dcaa60d729 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUQwOjY0N0E4Ojk2NjYwNzpEMDk5QzQ6NkIwNTlGMDciLCJ2aXNpdG9yX2lkIjoiNzYyNjU1ODE1MjEwNDA1ODYzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ebc275b6a1cf5a81c0135b8c7cb140e598164904387e749c8277751bf3c7582f |
| hovercard-subject-tag | issue:6407233211 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/373/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16909f0fd377925a8822e18946bced5959b6adc0429c1670f181555914da5128/cloudfall-dev/cloudfall/issues/373 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16909f0fd377925a8822e18946bced5959b6adc0429c1670f181555914da5128/cloudfall-dev/cloudfall/issues/373 |
| og:image:alt | Found in the review of #371 at eb73606; it is older than that PR. Problem When the release command fails during a redeploy of the same release id, the redeploy copy is not removed: engine/ansible/r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cda4791073b4da3005eb3d470dc0aef3956bbe34 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width