Add M8.3 dev/stage stores: Retain volumes, free-space reserve, store check
Keep the filesystem object store on a node-local Retain-class PVC per environment (ADR-0070), with the database on the external PostgreSQL VM. Because local-path does not enforce sizes, the object store now refuses new objects below a free-space reserve with a distinct full error, so a full volume publishes and acknowledges nothing. evo-world-clone gains check-store to qualify volume retention, reserve, database version/TLS and the runtime privilege boundary from inside the cluster; it now ships in the server image. Add the storage class, object claims, hand-applied store Jobs, policy rules forbidding password env vars, and the runbook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2689,3 +2689,42 @@ admission policy and the stage and World0 AppProjects, then ran
|
||||
`[]`. The corrected script has not been re-run on the cluster.
|
||||
- **WARN:** the `default` AppProject allows every namespace. The maintainer
|
||||
accepted this (docs/BACKLOG.md).
|
||||
|
||||
## M8.3 dev/stage stores - 2026-09-29
|
||||
|
||||
- WSL Linux `checks` set: CTest 59/59 in each configuration. The format check
|
||||
passed.
|
||||
- PostgreSQL suites: Release and ASan/UBSan passed with the new
|
||||
`region_store_tests`. Analysis passed after one clang-tidy fix (an int
|
||||
multiplication widened in the MiB report).
|
||||
- Store tests:
|
||||
- An unreachable reserve refuses new objects with `full`, leaving no files. An
|
||||
identical existing object is still reused.
|
||||
- A lineage batch through a full store fails as `upload`/`full`, and the head is
|
||||
unchanged.
|
||||
- RLIMIT_FSIZE makes a real write fail with `io`, leaving no object or
|
||||
temporary.
|
||||
- `check-store`:
|
||||
- its first run creates the probe and its second verifies it;
|
||||
- a missing root exits 4 without creating it;
|
||||
- a full volume exits 4;
|
||||
- an owner login exits 3 (tables READABLE);
|
||||
- the runtime login reports `version=180006 ... ssl=false` (local socket), and
|
||||
`tables=denied functions=reachable`.
|
||||
- An `evo-server` whose reserve cannot be met simulated but acknowledged
|
||||
nothing. Its drain exited 3, and the head was unchanged.
|
||||
- Mutations (restored and rebuilt), each caught:
|
||||
- removing the reserve check;
|
||||
- `check-store` always succeeding.
|
||||
- `tools/ci/deploy-policy-check.py`: 41 objects, 0 failures. Four new-rule
|
||||
mutations were caught:
|
||||
- a Delete class;
|
||||
- a platform claim on `local-path`;
|
||||
- a `PGPASSWORD` key reference;
|
||||
- a whole-Secret `envFrom`.
|
||||
- Kustomize renders the dev and stage overlays with the `aevolution-objects`
|
||||
claim; World0 has none.
|
||||
- The server image now contains `evo-world-clone`, and its smoke script checks the
|
||||
tool's usage exit. It has not been built locally, because Docker is not running.
|
||||
- Not executed: anything in the cluster, the store Jobs, retention, rebind and
|
||||
rotation evidence, and the image build.
|
||||
|
||||
Reference in New Issue
Block a user