feat(mirror): traffic_kinds dispatch for raw-file-only mirrors#600
Conversation
There was a problem hiding this comment.
rainxchzed has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
WalkthroughThis PR refactors mirror routing from binary presence ( ChangesTraffic-Kind-Aware Mirror Routing
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Required for 1.8.3. Backend ships new
traffic_kindsfield; client must respect or jsDelivr-style mirrors 404 on release assets.TrafficKindenum +MirrorConfig.trafficKinds(defaults to both for legacy responses)MirrorRewriter.classify(url)+applyTemplatehandles{url}and{owner}/{repo}@{ref}/{path}stylesProxyManager.currentMirror(): MirrorActive?(template + kinds)Test plan
Source: backend agent handoff.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes