[control] Phase 2: control plane #3
Reference in New Issue
Block a user
Delete Branch "control/phase-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 2 of docs/ROADMAP.md: the control plane.
What is in it
gitbinary (bare repo, cleared environment, hex-checked ids, exactlyianitor.toml+hosts/<hostname>.toml).--devmode, docs/api.md and docs/ui-api.md.Verification (WSL2 Debian, head of this branch)
Tests:
cargo test --workspace: 175 passed, 0 failed, 0 ignored.Lint and hook:
cargo fmt --checkandclippy --all-targets -D warningsare clean. The hook self-test passes 55/55.Reload under load: a reload every 100 ms gave 0 errors and 0 resets at 32, 64 and 128 clients (ROADMAP §8.4).
Adversarial self-review
Four QC rounds attacked this branch. Each finding came with a failing test where possible, and every Major was fixed with its test committed red first.
token revokelost to a concurrent server write...escapes, credentials echoed in errors, a lost confirm answer, idempotency races and others.Where I still distrust it:
apply_sequenceonce timed out waiting for Caddy on the chunked-body case; the cause was not found.Deployed
Nothing. The server is unchanged.