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 — Session summaries should cap or filter huge generated/vendor diffs in message.data.summary.diffs · Issue #30165 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionSummaryOpenCode can store very large diffs inside SQLite When generated/vendor/cache files are included, this can create huge message rows and cause downstream consumers such as Claudian/Obsidian to freeze or show blank restored sessions. I think OpenCode should add filtering and size caps for session summary diffs before they are written into persistent message data. Environment
What HappenedSome OpenCode session messages contained very large In one affected session, a single message was around 2.69 MB because These diffs were not meaningful conversation content. They were generated dependency/cache files. The large message row caused downstream session rendering problems in Claudian/Obsidian. After removing only generated/vendor/cache entries from Later, for two sessions that still showed blank content in Claudian, removing only their The actual conversation content was preserved: Why This Is a Problem
Generated/vendor/cache diffs are especially problematic because they are usually not useful for human review. Expected BehaviorOpenCode should avoid storing huge generated/vendor/cache diffs in Instead, it should either:
Suggested Default FiltersOpenCode should exclude or summarize-only paths matching common generated/vendor/cache patterns: Suggested Size CapsPossible default limits:
For example: If a diff exceeds the cap, store metadata instead of full patch content: {
"file": "frontend/node_modules/.vite/deps/chunk-xyz.js",
"omitted": true,
"reason": "generated_or_too_large",
"originalBytes": 734221,
"originalEntries": 1
}Related IssuesThese existing issues seem related to large diffs / session restore performance:
Suggested Implementation Direction1. Add path filtering before writing
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |