gitdataai/apps/git-hook
ZhenYi 0b5dc98ce5
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
refactor(db): simplify read-replica to single connection for CNPG
CNPG's cluster-ro service already handles load balancing and failover,
so the application-level Vec + random_range is redundant.

- db_read: Vec<DatabaseConnection> → Option<DatabaseConnection>
- database_read_replicas returns Option<String> instead of Vec<String>
- health checks now explicitly ping both writer() and reader()
- remove unused rand dependency from libs/db
2026-04-26 01:03:39 +08:00
..
src refactor(db): simplify read-replica to single connection for CNPG 2026-04-26 01:03:39 +08:00
Cargo.toml fix(hooks,email): add describe_counter! to pre-register metrics 2026-04-26 00:42:59 +08:00