Skip to content

refactor(sketch_db): hoist persistence/ to sketch_db level - #178

Merged
zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-2-persistence
May 13, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-2-persistence

Conversation

@zzylol

@zzylol zzylol commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Post-M2.3 reorg #2 of 8. Moves sketch_db/store/persistence/sketch_db/persistence/ so the disk layer sits as a top-level sibling of store/, data/, schema/, etc.

Previous nesting implied the persistence layer belonged to the store; in fact it's a parallel concern that any sid-keyed store wires into via the EpochSource trait.

store/mod.rs re-exports pub use sketch_db::persistence so legacy paths (store::persistence::*) keep compiling. Canonical path is now sketch_db::persistence::*.

Test plan

  • cargo test -p data_plane --lib — 783/783 pass.

🤖 Generated with Claude Code

Post-M2.3 reorg #2 of 8. Moves `sketch_db/store/persistence/` →
`sketch_db/persistence/` so the disk-persistence layer sits as a
top-level sibling of `store/`, `data/`, `schema/`, etc. The previous
nesting (`store/persistence/`) implied the persistence layer belonged
to the store; in fact it's a parallel concern that any sid-keyed
store wires into via the `EpochSource` trait.

`store/mod.rs` re-exports `pub use sketch_db::persistence` so legacy
paths (`store::persistence::*`) keep compiling. Canonical path is
now `sketch_db::persistence::*`.

783/783 lib tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit a36c731 into main May 13, 2026
@zzylol
zzylol deleted the feat/sketch-db-reorg-2-persistence branch July 17, 2026 20:05
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