René's URL Explorer Experiment


Title: Spec 009: a command health check that gates a deploy by shipmill-romamo[bot] · Pull Request #153 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Spec 009: a command health check that gates a deploy by shipmill-romamo[bot] · Pull Request #153 · cloudfall-dev/cloudfall

X Title: Spec 009: a command health check that gates a deploy by shipmill-romamo[bot] · Pull Request #153 · cloudfall-dev/cloudfall

Description: Spec for #152 Summary Adds docs/specs/009-command-health-check.md (S-009, status: approved; merging this PR is the approval). No implementation code. A new healthCheck type: command with command, timeoutSeconds (1 to 300) and attempts (1 to 20), the bounds the http check uses It runs inside "Activate the release behind the health gate" in cloudfall_deploy, after the symlink switch and the restart, through the same transient systemd-run unit release_command.yml uses: the application user, working directory /current, the service unit's EnvironmentFile=- line, RuntimeMaxSec= from timeoutSeconds. A relative command[0] resolves against current/ as service.command does Up to attempts runs, 3 seconds apart; if all fail (non-zero exit or timeout) the existing rescue restores and restarts the previous release, or stops a first release, and deploy --yes exits ENGINE_STEP_FAILED naming the exit code ReleaseReceipt gains an optional spec.healthCheck (type, command, attempts, exitCode, timedOut, nothing else). healthCheckPassed becomes a boolean; a failed command check writes a receipt with healthCheckPassed: false Additive: http and none components keep the same tasks and receipts, and a failed http or none gate still writes no receipt 13 acceptance criteria, S-009-1 to S-009-13; the issue's "Done when" is S-009-5 The number is 009 because open PR #128 already uses 008. Decisions for you The spec is written with the first option of each. Should a failed deploy leave a receipt? Today a release receipt is only written when the health gate passes. (recommended) Yes, for a failed command check: write tmp/releases/.json with healthCheckPassed: false, the check's exit code, and previousRelease naming the release that serves again. The CI guide's upload step (if: always()) then keeps the evidence of the failed run No: keep "a receipt means a live release" and only name the exit code in the deploy error message What happens to the command's output? It may print the API key it calls with. (recommended) It never leaves the server: it goes to the server's journal (journalctl -u cloudfall-health-), the Ansible task is no_log, and neither the receipt, the Ansible output nor the deploy error shows any of it Show the last 500 characters in the deploy error message only (never in the receipt), as the release command does, so a failure is easier to read from CI Where does a failed receipt go? (recommended) The same file as a successful one, tmp/releases/.json: it is the record of the last deploy, and previousRelease says what serves now A separate tmp/releases/.failed.json, so .json always names a release that passed Do restart, rollback and health run the command check too? They share the deploy's health gate today. (recommended) Yes: one declared check means the same thing everywhere, so the smoke check must be safe to run at any time against the live service Only deploy runs it; the others fall back to "the unit is active", like type: none Is the wait between attempts configurable? (recommended) No, fixed at 3 seconds like the http check Add an optional delaySeconds to the command check Plan Serves: G-3 Files: docs/specs/009-command-health-check.md Order: the spec alone; build issues are split from it once it merges Proof: approved by @romamo's answer on this PR (all five choices as recommended) 🤖 Generated with Claude Code

Open Graph Description: Spec for #152 Summary Adds docs/specs/009-command-health-check.md (S-009, status: approved; merging this PR is the approval). No implementation code. A new healthCheck type: command with command, ...

X Description: Spec for #152 Summary Adds docs/specs/009-command-health-check.md (S-009, status: approved; merging this PR is the approval). No implementation code. A new healthCheck type: command with command, ...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/153

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:25c6097f-8cce-c9be-f2a6-8d5f501cc244
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB9E:2CF9FD:289D71F:3516D43:6B055789
html-safe-nonce3722fcf2d913a25dde8088db131228e8fef796a87ddaea84d0f7ea1a37507fdf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjlFOjJDRjlGRDoyODlENzFGOjM1MTZENDM6NkIwNTU3ODkiLCJ2aXNpdG9yX2lkIjoiNzIwMTAzMDM0MTY1MjczMTc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac52f6cdf75b20d2397d028954ec3945f43fe75c53a8fa45eb1edc6934feae618f
hovercard-subject-tagpull_request:5049772909
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/153/files
twitter:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
og:image:altSpec for #152 Summary Adds docs/specs/009-command-health-check.md (S-009, status: approved; merging this PR is the approval). No implementation code. A new healthCheck type: command with command, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/153/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F153%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F153%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/153/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/153/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/153/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
shipmill-romamohttps://github.com/apps/shipmill-romamo
mainhttps://github.com/cloudfall-dev/cloudfall/tree/main
spec/009-command-health-checkhttps://github.com/cloudfall-dev/cloudfall/tree/spec/009-command-health-check
Conversation 2 https://github.com/cloudfall-dev/cloudfall/pull/153
Commits 1 https://github.com/cloudfall-dev/cloudfall/pull/153/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/153/checks
Files changed https://github.com/cloudfall-dev/cloudfall/pull/153/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/153/files
Spec 009: a command health check that gates a deploy https://github.com/cloudfall-dev/cloudfall/pull/153/files#top
Show all changes 1 commit https://github.com/cloudfall-dev/cloudfall/pull/153/files
eeef63a Spec 009: a command health check that gates a deploy shipmill-romamo[bot] Oct 28, 2026 https://github.com/cloudfall-dev/cloudfall/pull/153/commits/eeef63a9ecfe2f3ff5c7fcddca0085bf875cb660
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/153/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/153/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/153/files
docs/specs/009-command-health-check.mdhttps://github.com/cloudfall-dev/cloudfall/pull/153/files#diff-f1515884f7eea35298f09b58c5471d9a78a24ff7ccc06756581534a6c43641bd
View file https://github.com/cloudfall-dev/cloudfall/blob/eeef63a9ecfe2f3ff5c7fcddca0085bf875cb660/docs/specs/009-command-health-check.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/153/{{ revealButtonHref }}
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/153/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.