You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed codeburn version 0.9.9 on Windows 10 but it would not show me any usage data for my OpenCode sessions. There was no error, just the message that there is no data found.
I used OpenCode then to investigate and it has found the issue and fixed it locally for me.
This is the summary of the issue and the resolution:
Codeburn 0.9.9 - OpenCode Provider Fix
Problem
Codeburn reports "No usage data found" despite OpenCode sessions existing in ~/.local/share/opencode/opencode.db.
Root Cause
In parseProviderSources (main.js:8396), codeburn calls fingerprintFile2(source.path) where source.path for sqlite-based providers (OpenCode, Goose, Cursor) is encoded as:
Thanks for the detailed report. This matches the compound SQLite source-path bug that was present in [email protected]: OpenCode discovery emitted paths like <opencode.db>:<sessionId>, and the cache fingerprinting tried to stat() that virtual path.
This is fixed on main by #347, with the compound-path handling further covered in #358. I also verified the behavior against a Windows-shaped OpenCode path:
v0.9.9: <db>:<session> fingerprint resolves null
origin/main: <db>:<session> fingerprint resolves the underlying .db
npx vitest run tests/session-cache.test.ts: 50/50 passed
The remaining blocker is release availability: npm currently still publishes 0.9.9, while main is already bumped to 0.9.10. I’d keep this open until 0.9.10 is published.
Activity
ozymandiashh commentedon May 19, 2026
Thanks for the detailed report. This matches the compound SQLite source-path bug that was present in
[email protected]: OpenCode discovery emitted paths like<opencode.db>:<sessionId>, and the cache fingerprinting tried tostat()that virtual path.This is fixed on
mainby #347, with the compound-path handling further covered in #358. I also verified the behavior against a Windows-shaped OpenCode path:v0.9.9:<db>:<session>fingerprint resolvesnullorigin/main:<db>:<session>fingerprint resolves the underlying.dbnpx vitest run tests/session-cache.test.ts: 50/50 passedThe remaining blocker is release availability: npm currently still publishes
0.9.9, whilemainis already bumped to0.9.10. I’d keep this open until0.9.10is published.