Admin Bot
a731185588
fix(cag): resolve data races, add queue observability, fix test coverage
Cycle 2 fixes from reviewer-sre + reviewer-quality:
- scheduler.go: remove delete() under RLock (data race); expired entries
skipped on read, cleaned lazily by next MarkFailed write
- proxy.go: pre-populate transports for scheduler backends at startup to
prevent concurrent map writes from ServeHTTP goroutines
- proxy.go: log + IncrQueueFull() on queue-full 503 path (was silent)
- proxy.go: remove stub total_tokens/hit_rate from cache-hit log event
- serviceadapter/router.go: Warnf when Auth.Required but jwtValidator nil
- observability: add queue_full_requests_total counter + Prometheus export
- scheduler_test.go: TestBackendAcquireCancelledContext (ctx cancel branch)
- proxy_test.go: implement TestWarmupHeaderHandling (remove t.Skip)
- router_test.go: TestAuthenticate_MethodCapabilityOverrideDirect (auth coverage)
2026-09-27 18:39:45 +08:00
..
2026-09-09 00:00:07 +00:00
2026-09-09 00:00:07 +00:00
2026-09-15 08:53:58 +00:00
2026-08-21 20:46:45 -07:00
2026-08-21 20:46:45 -07:00
2026-08-21 20:46:45 -07:00
2026-09-15 08:53:58 +00:00
2026-08-21 20:46:45 -07:00
2026-09-27 18:39:45 +08:00
2026-09-27 18:39:45 +08:00
2026-09-27 18:21:41 +08:00
2026-09-27 18:39:45 +08:00
2026-09-27 18:39:45 +08:00
2026-09-13 23:37:33 +00:00
2026-08-21 20:46:45 -07:00
2026-09-09 00:31:10 +00:00
2026-09-09 00:31:10 +00:00
2026-08-21 20:46:45 -07:00
2026-08-21 20:46:45 -07:00