Improve typing and errors, clean up

This commit is contained in:
Silas Brack 2026-03-07 15:24:05 +01:00
parent 07490efc28
commit ec408aff29
5 changed files with 205 additions and 22 deletions

View file

@ -20,9 +20,9 @@
### Worth doing
- [ ] **Typed volume errors** — replace `String` errors in `volume.rs` with a proper enum
- [x] **Typed volume errors** — replace `String` errors with a proper enum
- [ ] **Unit tests for `db.rs`** — CRUD round-trip with in-memory SQLite
- [ ] **Graceful shutdown** — drain in-flight requests, flush writer
- [x] **Graceful shutdown** — drain in-flight requests on SIGINT/SIGTERM
### Nice to have