perf(proxy): 缩短预派发路由决策开销 - #284
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #284 +/- ##
==========================================
- Coverage 72.52% 72.50% -0.03%
==========================================
Files 245 245
Lines 14488 14519 +31
Branches 4829 4836 +7
==========================================
+ Hits 10508 10527 +19
- Misses 2596 2605 +9
- Partials 1384 1387 +3
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
将 autoresearch 分支中验证有效的路由决策优化整理为正式工程实现,删除实验专用 harness,不改变现有路由协议、候选筛选或认证公共 API。
Related Issue
无。
Type of Change
Changes
codex_responses映射。autoresearch.sh、scripts/benchmarks/*等实验临时文件。Benchmark Evidence
routing_decision_us=199376。routing_decision_us=203,routing_decision_p95_us=303。routing_decision_us=252、routing_decision_p95_us=379、api_key_verify_us=56、final_candidate_count=35。Test Plan
pnpm test:run --maxWorkers=1:245 个文件通过,3645 个测试通过,1 个跳过。pnpm exec tsc --noEmit:通过。pnpm lint:通过。pnpm format:check:通过。pnpm build(DB_TYPE=postgres):通过;仅有现有 Turbopack NFT tracing warning。Changelog
仓库没有手写 CHANGELOG 文件;本 PR 使用
perf、test、docs、fix(security)Conventional Commit 前缀,由git-cliff在 release 时生成变更记录。Additional Notes
没有新增依赖、数据库迁移或公共 API 破坏性变更。