mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Cleanup pass over the pending-CLI-authorization move to SQLite: - Extract a shared Database::retire_keyspace helper; the refresh-token and authorization-code retirements are now one-line wrappers over it. - Inline the startup retirement call (dropping the single-use wrapper, its context-chain test, and the test_close_slate hook it required) and run both SlateDB retirement scans concurrently. Error policies are unchanged: authorization codes fatal, refresh tokens best-effort. - Add a shared sqlite_row module with typed identity/timestamp row decoding, used by both AuthorizationCodeStore and AuthSessionStore; the session store's stringly Error::Other corruption errors become the typed InvalidStoredIdentity/InvalidStoredTimestamp variants. - Delete Repository::gc, which had no production callers left and was kept alive by its own test; update the record-layer docs to match. - Deduplicate the SQLite test-support bootstrap into sqlite_test_pool, reuse issue() in the invalid-timestamp test instead of a copied INSERT, and fold the new table into the existing existence-check loop in the fabro-db schema test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| migrations | ||
| src | ||
| tests | ||
| Cargo.toml | ||