Skip to content

Scale history browsing with cursors, SQL totals and streaming exports - #21

Merged
IAbuElRuzz merged 1 commit into
feat/collector-healthfrom
feat/scalable-history
Nov 15, 2026
Merged

IAbuElRuzz merged 1 commit into
feat/collector-healthfrom
feat/scalable-history

Conversation

@IAbuElRuzz

Copy link
Copy Markdown
Owner

History browsing previously materialized the full matching ledger and analysis on every page. The default dashboard now uses indexed keyset pagination and SQL accounting totals; detailed analysis is an explicit action. Exports stream bounded batches from a consistent SQLite read snapshot.

Monotonic arrival watermarks exclude new and backdated arrivals while paging. Corrections and deletions may still change the window; refresh starts a new window. Legacy APIs remain compatible. Browser download Blob storage and explicit advanced analysis still consume memory proportional to results.

Validation: seven focused backend regressions (including 1,051 events, ROWID reuse, SQL accounting parity, malformed cursors, streaming snapshots and tenant isolation), 45 frontend tests and TypeScript/production build passed. Combined backend suite passed before the final additional malformed-cursor test.

Depends on PR20, itself based on PR19; merge in dependency order.

@IAbuElRuzz
IAbuElRuzz merged commit 5a341af into feat/collector-health Nov 15, 2026
30 checks 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