Title: Read a recorded proposal's server_type.id with no removal date by shipmill-romamo[bot] · Pull Request #405 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Read a recorded proposal's server_type.id with no removal date by shipmill-romamo[bot] · Pull Request #405 · cloudfall-dev/cloudfall
X Title: Read a recorded proposal's server_type.id with no removal date by shipmill-romamo[bot] · Pull Request #405 · cloudfall-dev/cloudfall
Description: Plan Serves: G-4 Files: sdk/src/cloudfall/operator.py, sdk/tests/test_operator.py, changelog.d/198-baseline.md, changelog.d/387-server-type-check-no-removal.md Order: mark the existing test of the read as proving S-017-11 first, then drop the 0.9.0 date from the code comment on _RENAMED_CHECKS and from the proposal clause of the 198 fragment, then the 387 fragment Proof: test_a_proposal_naming_server_type_id_verifies_on_baseline_id (# proves: S-017-11): a proposal recorded with server_type.id verifies once baseline.id is compliant and fails while it drifts; test_a_proposal_naming_server_type_id_blocks_its_baseline_id_twin covers the duplicate check Summary Spec 017 says a record any release wrote is read by every later release with the same apiVersion, and a record's fields are never deprecated within cloudfall/v1 (S-017-11). An operator proposal is a record, but the read of its renamed audit check server_type.id as baseline.id was promised only until 0.9.0. operator.py: the comment on _RENAMED_CHECKS says the read has no removed_in, and why (S-017-11), as #386 does for ObservedServer. No code changes: the read was never dated in code, only in the comment and the changelog changelog.d/198-baseline.md: the operator-proposal clause moves from "until 0.9.0" to no removal date; the deprecated project names and old output names keep their 0.9.0 window The existing parametrized test already records a proposal with server_type.id and verifies it on baseline.id; it now carries # proves: S-017-11 rather than a duplicate test The S-017-13 test (#377) is not on main yet; this read carries no removed_in and is in operator.py, outside the files S-017-13 scans (app.py, the engine CLI, validation.py, ansible_reader.py), so it will not flag it. Test notes uv run ruff check . and uv run mypy: clean uv run pytest sdk/tests/test_operator.py sdk/tests/test_record_fixtures.py: all pass No behaviour changes, so no test fails on main: the proof is the existing test, now tied to S-017-11, which a later removal of the read would break The full suite is left to CI #386 also edits the same line of changelog.d/198-baseline.md (its snapshot clause); whichever lands second needs a one-line rebase there Fixes #387 Part of #228 🤖 Generated with Claude Code
Open Graph Description: Plan Serves: G-4 Files: sdk/src/cloudfall/operator.py, sdk/tests/test_operator.py, changelog.d/198-baseline.md, changelog.d/387-server-type-check-no-removal.md Order: mark the existing test of the...
X Description: Plan Serves: G-4 Files: sdk/src/cloudfall/operator.py, sdk/tests/test_operator.py, changelog.d/198-baseline.md, changelog.d/387-server-type-check-no-removal.md Order: mark the existing test of the...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/405
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6e3ed89c-b933-c51c-19f5-51742610a89e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C788:1CD602:193C3C5:21468BE:6B05590F |
| html-safe-nonce | 2153fb294c30255c8ecc322dcade752b7a974cc733e33d4f5bced2bd71372243 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzg4OjFDRDYwMjoxOTNDM0M1OjIxNDY4QkU6NkIwNTU5MEYiLCJ2aXNpdG9yX2lkIjoiOTE1NjkyOTgzMDg4NDAzODkyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5d316c265a58957192e730f25c8a3dfb60dd76f0b57ee6de86a12260a9364244 |
| hovercard-subject-tag | pull_request:5327349751 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/cloudfall-dev/cloudfall/pull/405/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Plan Serves: G-4 Files: sdk/src/cloudfall/operator.py, sdk/tests/test_operator.py, changelog.d/198-baseline.md, changelog.d/387-server-type-check-no-removal.md Order: mark the existing test of the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width