Title: One unreadable record blocks the whole record store, and old records have no compatibility test · Issue #218 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: One unreadable record blocks the whole record store, and old records have no compatibility test · Issue #218 · cloudfall-dev/cloudfall
X Title: One unreadable record blocks the whole record store, and old records have no compatibility test · Issue #218 · cloudfall-dev/cloudfall
Description: Problem DecisionStore.list() and ProposalStore.list() load and schema-validate every file in the directory on every call, and raise on the first one that fails. One corrupt or old-shape record stops propose (it lists the store before any...
Open Graph Description: Problem DecisionStore.list() and ProposalStore.list() load and schema-validate every file in the directory on every call, and raise on the first one that fails. One corrupt or old-shape record stop...
X Description: Problem DecisionStore.list() and ProposalStore.list() load and schema-validate every file in the directory on every call, and raise on the first one that fails. One corrupt or old-shape record stop...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/218
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"One unreadable record blocks the whole record store, and old records have no compatibility test","articleBody":"## Problem\n\n`DecisionStore.list()` and `ProposalStore.list()` load and schema-validate every file in the directory on every call, and raise on the first one that fails.\n\n- One corrupt or old-shape record stops `propose` (it lists the store before anything runs), `decisions list`, and the operator's autonomy decision, which reads the whole proposal history\n- Every proposal re-reads the whole history, so the cost of one call grows with the age of the fleet\n- Records are validated against today's closed schema (`additionalProperties: false`, `apiVersion` a constant). Compatibility with records written by an older release holds only by convention: there is no fixture of an old record in the tests, no writer version in a record, and no schema selection by `apiVersion`, so there is no route to a `v2` schema that keeps old records readable\n\n## Proposal\n\n- `list()` returns the records it can read and reports the unreadable ones as findings, each with its path and reason; commands that need the full history say which records they skipped\n- Each record carries the Cloudfall version that wrote it\n- Schemas are selected by the record's `apiVersion`, so a second schema version can live beside the first\n- A golden fixture set of records from each released version, loaded by a test in CI\n- Callers that need one record or the latest few read those, not the whole directory\n","author":{"url":"https://github.com/romamo","@type":"Person","name":"romamo"},"datePublished":"2026-11-13T08:19:21Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/218"}
| 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:fe2a5ddd-1fe3-e50c-dd64-7b69699dbff9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A3A:3179F7:1A7F652:22BE041:6B0558F7 |
| html-safe-nonce | 2f586f6477e3640143c2580a9c648585d7240ee643ea2ec33517bfe84c30d809 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTNBOjMxNzlGNzoxQTdGNjUyOjIyQkUwNDE6NkIwNTU4RjciLCJ2aXNpdG9yX2lkIjoiNzgxODEwNDQ5Nzk4MDY1OTk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a976b0a670f41f78ef481e602dcd1bef110d1101a044717e6588aaddefddcc3 |
| hovercard-subject-tag | issue:6367602820 |
| 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/218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aabd6e6f83bbd522b6a2a4d96bac55a2adfc907be6328a50cd9fad370a5ab85c/cloudfall-dev/cloudfall/issues/218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aabd6e6f83bbd522b6a2a4d96bac55a2adfc907be6328a50cd9fad370a5ab85c/cloudfall-dev/cloudfall/issues/218 |
| og:image:alt | Problem DecisionStore.list() and ProposalStore.list() load and schema-validate every file in the directory on every call, and raise on the first one that fails. One corrupt or old-shape record stop... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romamo |
| 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