mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
Export business data and published hourly usage from a shared snapshot as bounded gzip SQL archives, excluding request history and diagnostic data. Run bounded retention cycles every minute, deleting oldest unlocked rows with per-batch lock and statement deadlines. Add real PostgreSQL export/restore and lock-contention coverage, document the backup scope, and move detailed UI guidance into a help popover. Validation: 4011 backend tests passed in partitions; Rustfmt, Clippy, frontend lint/type checks, and actionlint passed. Resource-limited load checks covered current-adapter million-row backups and a read-only policy check on the existing 31-million-row database. Final popover interaction checks were stopped at the user's request. Online restore is deferred. Co-authored-by: Codex <noreply@openai.com>