From 63311f0741d543093e083b9c6004aef6bf2a8421 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 12:51:55 +0000 Subject: enstate: refused submissions, visible A submission the switch refuses is moved to STATE/refused/NAME with NAME.json next to it: when, and why ("refused" if nothing more). The check's message names the waiting submission's path. --status lists what waits in the incoming directory, planned against the running generation (one the check refused stays waiting, and refuses switches while it does), and what was refused, with the reasons (and --json as data); it exits with 1 if something needs attention: a refused submission, a waiting one the running generation would refuse, an unfilled required slot, so that a deployment running it notices. --forget NAME removes a waiting or refused submission. After hrm's review. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e08b3ac..8f7b9f8 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,11 @@ The design is in [docs/design.md](docs/design.md); `STATE/incoming/`, then serving a generation from snapshots accepted under another schema (same names, `renamedFrom` both ways, kept entries), refusing where a required slot can't be filled; -- `--status`, `--materialize`: the snapshots, and putting every view in - place from them; +- `--status`, `--materialize`: the snapshots, what waits in the incoming + directory and what the switch refused (with why; `--status` exits with 1 + if something needs attention: a refused submission, one waiting that the + running generation would refuse, an unfilled required slot), and putting + every view in place; `--forget NAME`: a waiting or refused submission; - `--pack PATH --out DIR`: a submission from a source list, JSON or TOML; `--pack PATH --dry-run [--json]`: what keeps it from one, every problem by channel and slot, with location and variables, writing nothing. -- cgit v1.3.1