Title: Concurrent deploys, rollbacks and restarts of one component are not locked against each other · Issue #221 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Concurrent deploys, rollbacks and restarts of one component are not locked against each other · Issue #221 · cloudfall-dev/cloudfall
X Title: Concurrent deploys, rollbacks and restarts of one component are not locked against each other · Issue #221 · cloudfall-dev/cloudfall
Description: Problem Nothing serializes two runs against the same component. Two deploys started at once (a person and the operator, or two agents) race on: the current symlink and the managed unit file the transient release-command unit, which has a...
Open Graph Description: Problem Nothing serializes two runs against the same component. Two deploys started at once (a person and the operator, or two agents) race on: the current symlink and the managed unit file the tra...
X Description: Problem Nothing serializes two runs against the same component. Two deploys started at once (a person and the operator, or two agents) race on: the current symlink and the managed unit file the tra...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/221
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Concurrent deploys, rollbacks and restarts of one component are not locked against each other","articleBody":"## Problem\n\nNothing serializes two runs against the same component. Two deploys started at once (a person and the operator, or two agents) race on:\n\n- the `current` symlink and the managed unit file\n- the transient release-command unit, which has a fixed name per component\n- the deployment receipt on the management host\n\nDeploy against rollback, and deploy against restart, race the same way.\n\n## Proposal\n\n- A lock per component on each target host, taken at the start of deploy, rollback and restart and released in `always`; a second run fails at once, naming who holds the lock and since when\n- A matching lock on the management host around the build, the receipt write and the run, so the failure comes before any host is contacted\n- A stale lock is reported with its age and is cleared only by an explicit command\n","author":{"url":"https://github.com/romamo","@type":"Person","name":"romamo"},"datePublished":"2026-11-13T08:19:27Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/221"}
| 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:087a3df5-16a3-93e2-da1d-a87d784aaead |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6BC:345F7:1588D24:1C7FB96:6B0550DF |
| html-safe-nonce | 63af61f953678f6db4fcaabe528e1587e70b9e6562782b626b4cc4e927377463 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkJDOjM0NUY3OjE1ODhEMjQ6MUM3RkI5Njo2QjA1NTBERiIsInZpc2l0b3JfaWQiOiI4MTQxOTY3NjIzNjI3MDM0ODQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | afedf9ff8c99dec382609f9fe78fe9158d09711f60e33aebe6531674d5b11172 |
| hovercard-subject-tag | issue:6367604192 |
| 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/221/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3e34e2a6f32bf92c496e359a905fcb51778623b49b39c12f96dfddcacab44ff5/cloudfall-dev/cloudfall/issues/221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e34e2a6f32bf92c496e359a905fcb51778623b49b39c12f96dfddcacab44ff5/cloudfall-dev/cloudfall/issues/221 |
| og:image:alt | Problem Nothing serializes two runs against the same component. Two deploys started at once (a person and the operator, or two agents) race on: the current symlink and the managed unit file the tra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romamo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| 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