Skip to content

feat(history): compact history storage and harden pooled-string compa… - #7

Merged
kmc-kk merged 1 commit into
mainfrom
feat-compressed-history
Mar 15, 2026
Merged

feat(history): compact history storage and harden pooled-string compa…#7
kmc-kk merged 1 commit into
mainfrom
feat-compressed-history

Conversation

@kmc-kk

@kmc-kk kmc-kk commented Mar 15, 2026

Copy link
Copy Markdown
Owner

…tibility

  • deduplicate repeated history strings through a shared text_pool and store metric rows by interned text ids
  • keep history queries backward-compatible by transparently resolving legacy text columns and pooled rows
  • update desktop history readers to support pooled and legacy history.db content side by side
  • add history tests for string interning, schema migration, mixed legacy/pooled rows, and diff/regression compatibility
  • add desktop backend tests for pooled metric deltas, run detail loading, and mixed history row handling

…tibility

- deduplicate repeated history strings through a shared text_pool and store metric rows by interned text ids
- keep history queries backward-compatible by transparently resolving legacy text columns and pooled rows
- update desktop history readers to support pooled and legacy history.db content side by side
- add history tests for string interning, schema migration, mixed legacy/pooled rows, and diff/regression compatibility
- add desktop backend tests for pooled metric deltas, run detail loading, and mixed history row handling
@kmc-kk
kmc-kk merged commit ccbe41e into main Mar 15, 2026
1 check passed
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