Repository navigation
fix(collector): open the omp credentials database by plain path so Linux SQLite reads it - #69
Merged
Merged
Conversation
…nux SQLite reads it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
问题
#68 用
file:...?mode=ro打开 omp 的agent.db。Linux 上的 SQLite 默认不解析file:URI,打开失败后账号表为空,请求全部退回current-account。CI 的collector-omp用例因此失败,0.16.1 的发版流程停在测试步骤,没有打标签和发布镜像。macOS 系统 SQLite 解析 URI,本机测试没有暴露。改动
改用普通路径加
readonly: true打开,行为与只读 URI 相同。验证
bun run typecheck,bun test tests/collector-omp.test.ts12 项通过。oven/bun:1.4.4Linux 容器里bun test tests,omp 与 agy 用例全部通过。唯一失败的发版脚本用例需要 git 目录,容器里没有复制它,CI 环境不受影响。🤖 Generated with Claude Code