Dockerfile 添加 --mount=type=cache 持久化 bun/go 缓存, 前端改代码时跳过后端构建(~10s),后端改代码时跳过前端(~30s)。 模型限流下拉改用 /api/channel/models_enabled 只返回已启用模型。
- 新增 settled 状态,防止 SyncManager 在 PreConsume/Settle 之间同步未结算记录 - Settle 使用 AdjustSyncedQuota(增量 gorm.Expr)替代 UpdateSyncedQuota(绝对值),修复并发覆写 - 网络失败时标记所有记录为 failed 并增加 retry_count,避免无限重试 - 新增 ArchiveStalePendingRecords 定时清理崩溃请求的 pending 记录 - 简化 IsSyncedUser/IsLocalUser 移除冗余 id 参数 - Dockerfile 切换华为云 Go 镜像,移除不兼容的 GOEXPERIMENT=greenteagc Co-Authored-By: Claude <noreply@anthropic.com>
Resolves 502 Bad Gateway errors when fetching from deb.debian.org Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>