Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #106 +/- ##
==========================================
- Coverage 76.35% 75.57% -0.79%
==========================================
Files 97 99 +2
Lines 6982 7319 +337
Branches 2438 2557 +119
==========================================
+ Hits 5331 5531 +200
- Misses 922 994 +72
- Partials 729 794 +65
🚀 New features to boost your workflow:
|
…ions - Simplify header: replace Card wrapper with compact inline toolbar - Add expandable row pattern for quota details with enter animation - Redesign quota rules as responsive horizontal grid (1/2/3 columns) - Replace status Badge with compact color dot indicator - Add grid-rows animation for edit dialog section transitions - Upstream selection and rolling period fields animate on toggle - Update tests to match new expandable row behavior
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
为 API Key 增加按金额限制的限额能力,支持与上游消费规则一致的时间窗口配置,并在超过额度时进行硬拒绝。
本次提交同时补上两类回归修复:
unbilled请求的放行语义,避免在无法计费的场景中被额度短路拦截。Related Issue
N/A
Type of Change
Changes
model_missing、usage_missing、price_not_found等unbilled场景的既有行为。unbilled例外以及 post-commit best-effort 行为。Test Plan
pnpm test:run)pnpm exec tsc --noEmit)pnpm lint)Checklist
Screenshots
N/A
Additional Notes
pnpm test:run已完整通过,结果为2033 passed | 1 skipped。本 PR 已包含针对评审意见中两处行为回退的修复与对应回归测试。