Title: Run a component's release command before the deploy switches current (S-005-1..7, 10, 11) · Issue #119 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Run a component's release command before the deploy switches current (S-005-1..7, 10, 11) · Issue #119 · cloudfall-dev/cloudfall
X Title: Run a component's release command before the deploy switches current (S-005-1..7, 10, 11) · Issue #119 · cloudfall-dev/cloudfall
Description: Builds part of spec S-005, docs/specs/005-release-command.md (feature issue #88): the acceptance criteria below. Each needs a test that names its id (test_s005_
Open Graph Description: Builds part of spec S-005, docs/specs/005-release-command.md (feature issue #88): the acceptance criteria below. Each needs a test that names its id (test_s005_
X Description: Builds part of spec S-005, docs/specs/005-release-command.md (feature issue #88): the acceptance criteria below. Each needs a test that names its id (test_s005_<k>_..., or a proves: S-005-1 c...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/119
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run a component's release command before the deploy switches current (S-005-1..7, 10, 11)","articleBody":"Builds part of spec S-005, `docs/specs/005-release-command.md` (feature issue #88): the acceptance criteria below. Each needs a test that names its id (`test_s005_\u003ck>_...`, or a `proves: S-005-1` comment line).\n\nThis is the schema, the validation, and the release command in the deploy role.\n\n- S-005-1: A component with `release.command` that creates a table deploys with `cloudfall deploy --yes`, the table exists afterwards, and the release receipt has `releaseCommand` with the command, `exitCode: 0` and an `outputTail`\n- S-005-2: The command runs after the `Materialize locked dependencies for the release` task and before the `Install the managed service unit` and `Switch the current release symlink` tasks, as the application's `linuxUser`, with the new release directory (or its `workingDirectory`) as its working directory\n- S-005-3: A release command that prints every variable sees each key of the installed `\u003cinstallRoot>/shared/env/\u003ccomponent>.env`, values with the same quoting rules the unit applies\n- S-005-4: A release command that exits 1 makes `deploy --yes` exit `ENGINE_STEP_FAILED` with an `error.message` naming the release command and exit code 1; `current` still points at the previous release on every server, the unit file is unchanged, the service was not restarted, and no release receipt was written\n- S-005-5: A release command still running after `timeoutSeconds` is stopped and fails the deploy the same way, with an `error.message` naming the timeout\n- S-005-6: With `deployment.servers: [b, a]`, the command runs once, on `b`, before either server's `current` moves, and every release receipt from that deploy names `b` in `releaseCommand.server`\n- S-005-7: `releaseCommand.outputTail` holds at most the last 2000 characters of a command that prints more\n- S-005-10: A component without `release` deploys with the same Ansible tasks as before and a receipt with no `releaseCommand`\n- S-005-11: `config validate` exits `CONFIG_INVALID` for a `release.workingDirectory` that is absolute or contains `..`, an empty `release.command`, or a `timeoutSeconds` outside 1 to 1800\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-27T07:54:43Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/119"}
| 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:2d8038e9-96e7-6a05-d844-f96d31a9eb8d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C526:1873F7:EB4A06:142B9E0:6B0558AB |
| html-safe-nonce | 91ad18531f67df8f45e81b77dcdebe625d820fd995080670dcfccf7c3ca2cc21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTI2OjE4NzNGNzpFQjRBMDY6MTQyQjlFMDo2QjA1NThBQiIsInZpc2l0b3JfaWQiOiI4MDI4OTg4MzQ0Njc2NzQyODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ad5b4a776bee43849500a8b9fa642157650de6b3d1d1f1da18d82fa1ceb3ed4 |
| hovercard-subject-tag | issue:6055152450 |
| 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/119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e273c05008e6e1b7f9e8b5cdb4a8e1201bff0d501decb1b435906cb51d359067/cloudfall-dev/cloudfall/issues/119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e273c05008e6e1b7f9e8b5cdb4a8e1201bff0d501decb1b435906cb51d359067/cloudfall-dev/cloudfall/issues/119 |
| og:image:alt | Builds part of spec S-005, docs/specs/005-release-command.md (feature issue #88): the acceptance criteria below. Each needs a test that names its id (test_s005_ |
| 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 | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| 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 | 10dff83edfd4f3617a7792a152d44991587b434c |
| 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