Title: shipmill: spec coverage can't count a live proving run as a criterion's proof · Issue #533 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: shipmill: spec coverage can't count a live proving run as a criterion's proof · Issue #533 · cloudfall-dev/cloudfall
X Title: shipmill: spec coverage can't count a live proving run as a criterion's proof · Issue #533 · cloudfall-dev/cloudfall
Description: shipmill: specs.py coverage counts only a test as proof of a criterion, so a criterion that only a live proving run can prove reads as unproven forever. Spec 006 is marked built with S-006-9 as one known exception (#81, on the maintainer...
Open Graph Description: shipmill: specs.py coverage counts only a test as proof of a criterion, so a criterion that only a live proving run can prove reads as unproven forever. Spec 006 is marked built with S-006-9 as one...
X Description: shipmill: specs.py coverage counts only a test as proof of a criterion, so a criterion that only a live proving run can prove reads as unproven forever. Spec 006 is marked built with S-006-9 as one...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/533
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shipmill: spec coverage can't count a live proving run as a criterion's proof","articleBody":"shipmill: `specs.py coverage` counts only a test as proof of a criterion, so a criterion that only a live proving run can prove reads as unproven forever. Spec 006 is marked `built` with S-006-9 as one known exception (#81, on the maintainer's answer there); nothing else here waits on it.\n\n## Reproduce\n\nOn main after the spec 006 close-out, run `uv run --no-project python \u003cgithub-issue-triage>/scripts/specs.py coverage --spec 006` (shipmill 0.145.0). It exits 1 with `S-006-9 ... no test proves it`, although `docs/specs/006-standalone-postgresql.md` Verification names the live run that held it (`docs/proving-runs/2026-11-17-hetzner-postgresql-remote-access.md`, #145). S-006-9 is three `psql` attempts across two real hosts; the only test possible would restate S-006-8's rendering.\n\nThe same applies to every criterion phrased \"on a proving host\" (S-012-3/4, S-019-17/18, S-015's live checks): each spec either stays `approved` or carries a coverage exception.\n\n## Touches\n\nshipmill's github-issue-triage `scripts/specs.py`: `coverage` (and `check`, if it should require a proof per criterion of a built spec)\n\n## Suspected code\n\n`specs.py` `coverage(directory, root, wanted)` reads only test files (`.py` files named `test_*` or `*_test.py`, plus `proves:` comment lines in them, lines 161-174 and 653) and prints `no test proves it` for anything else.\n\nProposed shape: count a record outside the tests as proof when it names the criterion on a `proves:` line, for example a proving-run record under `docs/proving-runs/*.md` with `proves: S-006-9` in its front matter or table, and print it as `live: \u003cpath>` rather than a test, so coverage stays exit 0 and the reader still sees the proof is a run, not a test. A configurable glob (`[specs] proof_dirs`) would keep the default as it is for repos without proving runs.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-18T04:58:43Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/533"}
| 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:1e99f557-91f1-792b-36ad-a6a241f247ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B028:1B13E8:2705B2D:32DECCB:6B0550DD |
| html-safe-nonce | 0aba8a418288dcbe6e67a368ae9ff3a49cd78bb2fcee17eaf949a1a986204443 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDI4OjFCMTNFODoyNzA1QjJEOjMyREVDQ0I6NkIwNTUwREQiLCJ2aXNpdG9yX2lkIjoiNDI2Mzc3Njk3OTAwMzk4NjE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 63c6f1dd4f0762fc7912ca111f40c2b4a7fdef09131ee2aba439fee731e07646 |
| hovercard-subject-tag | issue:6460333402 |
| 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/533/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f579fdbe6ca9b608bd6b9d27a649b658036acbcbb9c13852f0e72d6cc8a77b3c/cloudfall-dev/cloudfall/issues/533 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f579fdbe6ca9b608bd6b9d27a649b658036acbcbb9c13852f0e72d6cc8a77b3c/cloudfall-dev/cloudfall/issues/533 |
| og:image:alt | shipmill: specs.py coverage counts only a test as proof of a criterion, so a criterion that only a live proving run can prove reads as unproven forever. Spec 006 is marked built with S-006-9 as one... |
| 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