GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — OpenCode Sessions Bug Report · Issue #30652 · anomalyco/opencode Closed DescriptionDescriptionBug Report:
|
| id | slug | title | time_created | time_updated | model |
|---|---|---|---|---|---|
| ses_XXXXXXXXXX... | random-slug | Session title (redacted) | 1778215695362 | 1780538253228 | some-model |
| ses_XXXXXXXXXX... | another-slug | Another session title (redacted) | 1778670095419 | 1780538150903 | some-model |
| ses_XXXXXXXXXX... | third-slug | Another session title (redacted) | 1780537992210 | 1780538061954 | some-model |
PRAGMA wal_checkpoint(TRUNCATE) returns 0|0|0 (no pages in WAL, all data in main DB).compaction rules that could have cleared sessions.User cannot browse or restore previous sessions via the CLI. If there is no other way to retrieve session IDs, all conversation history is effectively lost.
The /sessions CLI command should query the session table correctly and display available sessions. The current query may be using wrong column names (e.g., created_at/updated_at instead of time_created/time_updated), which would silently produce empty results when no rows match.
opencode.db) + WAL files, confirming real data exists.~/.local/share/opencode/log/).No response
No response
No response
No response
No response
No response
This issue might be a duplicate of existing issues. Please check:
opencode web #30054: [Regression] Historical chat sessions disappear after upgrading from v1.15.11 to v1.15.13 (same version 1.15.13, sessions missing from UI)If your issue is not addressed by any of these, please add details about what differentiates your case.
Turns out this was the #29581 bug — old sessions had empty path fields, so the TUI session query filtered them out.
Closure: