registry: extract agent and operation modules

This commit is contained in:
a.tolmachev
2026-04-12 12:13:10 +03:00
parent cdf9cbd8cc
commit dec311b143
4 changed files with 1286 additions and 1278 deletions
+5 -5
View File
@@ -2,18 +2,18 @@
## Current
### `feat/postgres-registry-modularization`
### `feat/sqlx-compile-time-verification`
Status: in_progress
DoD:
- `crates/crank-registry/src/postgres.rs` is split into domain modules under `postgres/`
- `PostgresRegistry` keeps only constructors and high-level surface wiring
- existing registry tests still pass after module split
- the highest-risk registry queries use `sqlx::query!` / `query_as!`
- compile-time SQL verification is enabled in normal backend workflow
- runtime-only queries remain only where dynamic SQL is truly required
## Next
- `feat/sqlx-compile-time-verification`
- `feat/typed-timestamps`
## Backlog