
v8.0.38 上 auth 目录读不到一次,整池文件凭据会被注销;三张单在北京 20:02–20:15 全部修进 dev,发行版一笔没带,附今晚的核查与恢复步骤。
| 单 | 问题 | 修复提交(北京 10-22) | v8.0.38 |
|---|---|---|---|
| #6870 | 读不到 auth 目录时整池文件凭据被注销 | 57a12996,20:06,6 文件 +310/−18 | 没有 |
| #6871 | OAuth 登录协程读 Handler.cfg 不持锁 | 8bd17955,20:15,4 文件 +121/−11 | 没有 |
| #6872 | 分配预算测试在 -race 下随机挂 | ad09c779,20:02,3 文件 +14/−0 | 没有 |
reloadClients 末尾调 refreshAuthState(clients.go 第 200 行)。FileSynthesizer.Synthesize 直接返回空列表加 nil 错误。
internal/watcher/synthesizer/file.go 第 39–43 行:os.ReadDir 一出错就 return out, nil,注释只覆盖了目录不存在这一种。4prepareAuthUpdatesLocked 对当前每一个不在新结果里的 id 发一条 Delete。
internal/watcher/dispatcher.go 第 345–351 行:注释说「缺号不等于源文件被删」,代码还是给每个缺号发了 AuthUpdateActionDelete。5ErrNotExist 的读目录失败记成不完整。6
internal/watcher/synthesizer/file.go 第 39–46 行:只有 fs.ErrNotExist 当作「没有凭据」,其余读失败走 RecordIncompleteFile。7.json 文件数对得上。ulimit -n 抬到连接数之上;存储抖动时不要保存配置。h.cfg。h.cfg.AuthDir,那次读发生在响应返回之后。9-race 下每次都报,不加 -race 看不出来。
internal/api/handlers/management/handler.go 第 143–148 行:configSnapshot 在 h.mu 下取 h.cfg,给跑在请求之外的代码用。13h.cfg。14github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
status.openai.com
status.anthropic.com
status.cloud.google.com
codex-reset.com
github.com
github.com
github.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.