Repository navigation
fix(accounts): refresh Claude and Gemini usage snapshots - #8858
Merged
Wei-Shaw merged 4 commits intoNov 20, 2026
Merged
Conversation
riofutab
added a commit
to riofutab/sub2api
that referenced
this pull request
Nov 17, 2026
- 带入上游 11-16 已合的 55 个 PR,同步基准更新为 9cd1a1e;用量汇总改为非阻塞建表(Wei-Shaw#8693),被动用量换窗清理与 Fable 限额恢复采用上游实现(Wei-Shaw#8723 Wei-Shaw#8779)。 - Codex 独立上下文改用上游 Wei-Shaw#8769 的 user 文本归一化,撤回 fork 的 Wei-Shaw#8680 并补回 proposed_plan、guardian、cloud_threads 等类型;Gemini 思考等级改用 Wei-Shaw#8673,撤回 fork 的 Wei-Shaw#8619。 - 合入 24 个开放 PR,Wei-Shaw#8781 与 Wei-Shaw#8705 部分合入;Wei-Shaw#8856、Wei-Shaw#8858 与已有实现重复,未合入。 - 修复转义的 1h TTL 被快速路径漏判,并按 fork 的构造参数与模型目录调整上游测试。 - 后端全量 unit、golangci-lint、前端 vitest、迁移空库回放与 CI 集成测试通过;go.sum 未整理。
Contributor
Author
|
已在原分支同步最新 main,纳入现有账单内存测试隔离修正;另以独立提交补齐中英文 Ultra Fast 提示中的 service_tier=ultrafast,消除全前端测试发现的文案断言失败。当前 head:155b83bad。已验证 Go 完整 unit/integration、lint、构建与安全检查,前端 lint/typecheck、关键测试、全量测试(387 文件、3163 项)及生产构建。原始 head 与干净 main 的完整 unit 本地对比均通过,因此不将历史远端失败直接归因为基线。当前等待新 head 的远端 CI;本地通过不代表旧红灯已清除。 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
问题
账号列表自动刷新后,Claude OAuth/setup-token 的 5h、7d 用量及 Gemini 用量可能继续显示旧值。行比较与组件刷新只追踪了部分平台,五分钟缓存也未区分账号用量快照版本。
改动
验证
已验证:
范围仅限前端快照更新。未调用真实供应商接口验证;后端代码及依赖未改动。已检查 #8569、#8509:本改动不引入其主动额度读取流程,聚焦被动快照自动刷新。
Fixes #8854