Refactored storage layer to use per-operation auto-commit with explicit transaction API.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 20s
CI / Tests (Python 3.13) (push) Successful in 19s
CI / Tests (Python 3.14) (push) Successful in 17s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 6s

This commit is contained in:
2026-03-09 20:03:38 -04:00
parent 87b037065f
commit 3186e6e392
12 changed files with 280 additions and 244 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ Owlbot is a modular, event-driven chat bot for Owncast.
- Use decorators: `@on_command`, `@on_event`, `@on_route`, `@on_setup`, `@on_teardown`.
- Dynamic runtime registration is also supported via context registries.
- Storage:
- `api/storage.py` wraps `aiosqlite` with per-module DB files and handler-scoped transactions.
- `api/storage.py` wraps `aiosqlite` with per-module DB files, connection pooling, and auto-commit semantics.
## Build, Test, and Development Commands
- `uv sync`: install runtime and dev dependencies from `uv.lock`.