8000 fix(collector): open the omp credentials database by plain path so Linux SQLite reads it by InfinityPacer · Pull Request #69 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

fix(collector): open the omp credentials database by plain path so Linux SQLite reads it - #69

Merged
InfinityPacer merged 1 commit into
mainfrom
fix/omp-credentials-readonly
Nov 3, 2026
Merged

InfinityPacer merged 1 commit into
mainfrom
fix/omp-credentials-readonly

Conversation

@InfinityPacer
Copy link
Copy Markdown
Owner

问题

#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.ts 12 项通过。
  • oven/bun:1.4.4 Linux 容器里 bun test tests,omp 与 agy 用例全部通过。唯一失败的发版脚本用例需要 git 目录,容器里没有复制它,CI 环境不受影响。

🤖 Generated with Claude Code

…nux SQLite reads it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@InfinityPacer
InfinityPacer merged commit 8db78eb into main Nov 3, 2026
2 checks passed
@InfinityPacer
InfinityPacer deleted the fix/omp-credentials-readonly branch November 3, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0