[sgl-router] refactor - layout BucketResolver, Bucket, EngineGroup and implement PowerOfTwo (#40241)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Kan Wu
2026-09-20 16:57:07 -07:00
committed by GitHub
co-authored by Claude Fable 5.1
parent 4a9dc5c4af
commit aedda8377e
15 changed files with 2566 additions and 4 deletions
@@ -21,6 +21,8 @@ use std::sync::Arc;
use std::time::Duration;
use tower::ServiceExt;
mod reorg;
const TEST_TIMEOUT: Duration = Duration::from_secs(5);
fn config_for(_worker_url: &str) -> Config {