Title: The health gate can only check one HTTP status, so a deploy can't run a smoke check before it keeps a release · Issue #152 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: The health gate can only check one HTTP status, so a deploy can't run a smoke check before it keeps a release · Issue #152 · cloudfall-dev/cloudfall
X Title: The health gate can only check one HTTP status, so a deploy can't run a smoke check before it keeps a release · Issue #152 · cloudfall-dev/cloudfall
Description: What happens Component.healthCheck is http (one local URL, expected statuses) or none. release.command runs before the switch, so it cannot test the new release while it serves. Nothing runs after the switch that can fail the deploy and ...
Open Graph Description: What happens Component.healthCheck is http (one local URL, expected statuses) or none. release.command runs before the switch, so it cannot test the new release while it serves. Nothing runs after ...
X Description: What happens Component.healthCheck is http (one local URL, expected statuses) or none. release.command runs before the switch, so it cannot test the new release while it serves. Nothing runs after ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/152
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The health gate can only check one HTTP status, so a deploy can't run a smoke check before it keeps a release","articleBody":"## What happens\n\n`Component.healthCheck` is `http` (one local URL, expected statuses) or `none`. `release.command` runs before the switch, so it cannot test the new release while it serves. Nothing runs after the switch that can fail the deploy and trigger the existing rollback.\n\nChecked on `main` (27d4f88, 0.7.0): `config/schemas/v1/component.schema.json` (`healthCheck` `oneOf`), `cloudfall_deploy` \"Activate the release behind the health gate\".\n\n## Why it matters\n\nOur `private-repo-b` deploy keeps a release only when a smoke check passes: authenticated calls to the routes customers use, with a dedicated API key from the service environment (it caught a 500 on every authenticated route that a status check on `/health` would have passed). Without a check of that kind in the gate, we run it as a separate CI step after `cloudfall deploy` and call `cloudfall rollback` ourselves, which leaves a window where the bad release serves and the rollback lives outside the receipt.\n\n## Asked\n\nA `healthCheck` of `type: command`: an argv run on the server after the switch, as the component's user, with its working directory `current` and its environment file, with `timeoutSeconds` and `attempts` like `http`. A non-zero exit takes the existing rescue path (previous release restored and restarted), and the receipt records the command's exit code but not its output, which may hold secrets.\n\n## Done when\n\nA test deploys a release whose command check exits non-zero and finds the previous release active and the receipt marked failed with the command's exit code.\n\nDepends on cloudfall-dev/cloudfall#161\nDepends on cloudfall-dev/cloudfall#164\nDepends on cloudfall-dev/cloudfall#166","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-28T11:09:48Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/152"}
| 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:be9ff1af-5def-e176-bdec-d71147b3ab88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A74C:20A7E7:192FD93:210B020:6B0554C9 |
| html-safe-nonce | af01fefa0bb6fba1324d619e58906bac39a988e568d18c160f2b3630e8cc3e26 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzRDOjIwQTdFNzoxOTJGRDkzOjIxMEIwMjA6NkIwNTU0QzkiLCJ2aXNpdG9yX2lkIjoiNjQ4NDg3Nzc2MjMyMTc5ODM0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3262343f3243874a5bf3caed61ac85f278c80b39c00c30fd3f9306669e8e5f71 |
| hovercard-subject-tag | issue:6077735481 |
| 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/152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cb64bda1a8acbd72275eb0ded2ae45e68d1143ea10976f99810844fffd4ba94/cloudfall-dev/cloudfall/issues/152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cb64bda1a8acbd72275eb0ded2ae45e68d1143ea10976f99810844fffd4ba94/cloudfall-dev/cloudfall/issues/152 |
| og:image:alt | What happens Component.healthCheck is http (one local URL, expected statuses) or none. release.command runs before the switch, so it cannot test the new release while it serves. Nothing runs after ... |
| 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 | 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