mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
Keep OpenAI quota windows eligible for scheduling until their reset time, independently of the projection cache TTL. Expire undated observations and reset windows separately, and clear old signals when a fresh observation contains no active window. Record bounded candidate diagnostics with quota, concurrency, smart scores and affinity results. Cover idle 74%/96% accounts with one concurrent title request, independent window expiry, cache replacement and trace retention. Validation: workspace tests (1852 passed), rustfmt, and strict workspace Clippy with all targets and features. PostgreSQL/Redis integration services were not configured. Co-authored-by: Codex <noreply@openai.com>