Title: Make deploy enforce approval: manual (S-008-1, 3, 5..10, 15, 16) · Issue #163 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Make deploy enforce approval: manual (S-008-1, 3, 5..10, 15, 16) · Issue #163 · cloudfall-dev/cloudfall
X Title: Make deploy enforce approval: manual (S-008-1, 3, 5..10, 15, 16) · Issue #163 · cloudfall-dev/cloudfall
Description: Builds part of spec S-008, docs/specs/008-enforce-manual-approval.md (feature issue #106): the acceptance criteria below. Each needs a test that names its id (test_s008_
Open Graph Description: Builds part of spec S-008, docs/specs/008-enforce-manual-approval.md (feature issue #106): the acceptance criteria below. Each needs a test that names its id (test_s008_
X Description: Builds part of spec S-008, docs/specs/008-enforce-manual-approval.md (feature issue #106): the acceptance criteria below. Each needs a test that names its id (test_s008_<k>_..., or a proves: ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/163
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make deploy enforce approval: manual (S-008-1, 3, 5..10, 15, 16)","articleBody":"Builds part of spec S-008, `docs/specs/008-enforce-manual-approval.md` (feature issue #106): the acceptance criteria below. Each needs a test that names its id (`test_s008_\u003ck>_...`, or a `proves: S-008-1` comment line).\n\nThis is `deploy` enforcing `approval: manual`: the counting rules, the plan's `approval` object, the MCP tool, the Breaking changelog entry and the docs.\n\n- S-008-1: `deploy crm-backend --release R --yes` on a project whose application declares `approval: manual` and whose approvals folder holds no record exits 4 `PRECONDITION` with `context.code: deployment_approval_missing`, a message naming the application, `crm-backend` and `R`, and `context.command` equal to `cloudfall release approve crm-backend --release R`; no `ansible-playbook` runs and no release receipt is written\n- S-008-3: After S-008-2, `deploy crm-backend --release R --yes` deploys and its result carries `approval` with that record's `path`, `approver` and `approvedAt`\n- S-008-5: `cloudfall mcp serve` for a project lists no `release_approve` tool, and its `deploy` tool called with `yes: true` for a `manual` application without a record returns `PRECONDITION` with `deployment_approval_missing`\n- S-008-6: A record for release `R` doesn't count when the archive at `tmp/artifacts/crm-backend/R.tar.gz` and its metadata now give another SHA-256, when the component's declared servers differ from the record's `servers`, or when `expiresAt` has passed; `deploy --yes` refuses with `deployment_approval_missing` and lists the record with `digest_mismatch`, `servers_changed` or `expired`\n- S-008-7: A record naming another release or another component doesn't count for `R`\n- S-008-8: `deploy` without `--yes` exits 0, runs no `ansible-playbook`, and shows `approval` with `policy: manual`, `status: missing` and `command` before S-008-2, and `status: approved` with the record's `path`, `approver` and `expiresAt` after it\n- S-008-9: For an `automatic` application, `deploy --yes` deploys without any record, its plan shows `approval: {\"policy\": \"automatic\"}`, and a file in the approvals folder that isn't valid JSON doesn't stop it\n- S-008-10: For a `manual` application, a file in the approvals folder that isn't valid JSON or doesn't match `release-approval.schema.json` makes `deploy` exit `RECORD_INVALID` naming the file\n- S-008-15: A deploy that fails its health gate leaves its approval record unchanged, and a second `deploy --yes` of the same release before `expiresAt` uses the same record\n- S-008-16: `changelog.d/106-enforce-manual-approval.md` has a `### Breaking` entry naming `deploy --yes` and `migrate --yes` on `manual` applications and both migrations (approve with `cloudfall release approve`, or switch to `approval: automatic`), and `docs/ci-deploy-guide.md` no longer says that no command acts on `approval`\n\nDepends on cloudfall-dev/cloudfall#160\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-30T13:33:57Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/163"}
| 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:92bd89d2-8ec0-480e-9797-b6536892d288 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE9E:2E654B:14C4604:1B7954C:6B0559B1 |
| html-safe-nonce | b09ced18676479422a3fc40c791c3bb21f0c4107a8ab797bc4f2e00a6fa23ea5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTlFOjJFNjU0QjoxNEM0NjA0OjFCNzk1NEM6NkIwNTU5QjEiLCJ2aXNpdG9yX2lkIjoiODk0MDUxMDE2NTQ2MDE0NjYwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 171e26630338d9d65e64e9d83c5f8954ffae150defd382a65f1db41070105692 |
| hovercard-subject-tag | issue:6120050602 |
| 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/163/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ca527b70f4f1b7a105ff9a267e4c9aa2c341d323fb8483457998eb97b70b9db/cloudfall-dev/cloudfall/issues/163 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ca527b70f4f1b7a105ff9a267e4c9aa2c341d323fb8483457998eb97b70b9db/cloudfall-dev/cloudfall/issues/163 |
| og:image:alt | Builds part of spec S-008, docs/specs/008-enforce-manual-approval.md (feature issue #106): the acceptance criteria below. Each needs a test that names its id (test_s008_ |
| 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