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-06 13:45:04 +00:00
2026-09-27 18:21:41 +08:00
2026-09-08 23:08:39 +00:00
2026-09-13 22:50:12 +00:00
2026-09-27 18:21:41 +08:00
2026-09-15 08:53:58 +00:00
2026-09-27 18:39:45 +08:00
2026-08-26 13:47:36 -07:00
2026-09-27 18:39:45 +08:00
2026-08-26 13:47:36 -07:00
2026-09-27 18:21:41 +08:00
2026-09-27 18:39:45 +08:00
2026-09-26 18:50:49 +08:00
2026-08-21 20:46:45 -07:00
2026-08-31 15:01:56 -07:00
2026-09-16 07:49:15 +09:00
2026-08-21 16:49:44 -07:00