Skip to content

Avoid full ledger reloads in operator snapshots#123

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/decodex-serve-snapshot-hotpath
May 27, 2026
Merged

Avoid full ledger reloads in operator snapshots#123
yvette-carlisle merged 1 commit into
mainfrom
xy/decodex-serve-snapshot-hotpath

Conversation

@yvette-carlisle
Copy link
Copy Markdown
Member

Summary

  • query Linear execution ledger rows by service/issue directly from SQLite for operator history hydration
  • avoid refreshing the full runtime state cache on every history lane snapshot read
  • add a cross-store regression proving issue-scoped ledger listing does not materialize the full ledger cache

Verification

  • cargo test -p decodex persistent_linear_execution_event_listing_does_not_refresh_full_ledger --all-features
  • cargo test -p decodex state_store_open_persists_runtime_history_across_instances --all-features
  • cargo make check

@yvette-carlisle yvette-carlisle merged commit 01f6b50 into main May 27, 2026
14 checks passed
@yvette-carlisle yvette-carlisle deleted the xy/decodex-serve-snapshot-hotpath branch May 27, 2026 14:32
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