refactor(store): rename SlateDB prefix from "db" to "slatedb"

Makes the on-disk storage subdirectory self-descriptive.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-04-14 07:32:16 -04:00
parent c7461c31dc
commit e2897fc910

View file

@ -48,7 +48,7 @@ impl Database {
}
fn shared_db_prefix(&self) -> String {
format!("{}db", self.base_prefix)
format!("{}slatedb", self.base_prefix)
}
async fn open_db(&self) -> Result<slatedb::Db> {
@ -399,7 +399,7 @@ mod tests {
let remaining = store.list_runs(&ListRunsQuery::default()).await.unwrap();
assert_eq!(remaining.len(), 1);
assert_eq!(remaining[0].run_id, test_run_id("run-2"));
assert!(!list_paths(object_store, "runs/db").await.is_empty());
assert!(!list_paths(object_store, "runs/slatedb").await.is_empty());
}
#[tokio::test]