feat: unwrap storage namespaces to flat exports + barrel (#22747)

This commit is contained in:
Kit Langton
2026-04-15 23:30:49 -04:00
committed by GitHub
parent 1ca257e356
commit f24207844f
40 changed files with 874 additions and 854 deletions

View File

@@ -10,7 +10,7 @@ import { afterAll } from "bun:test"
const dir = path.join(os.tmpdir(), "opencode-test-data-" + process.pid)
await fs.mkdir(dir, { recursive: true })
afterAll(async () => {
const { Database } = await import("../src/storage/db")
const { Database } = await import("../src/storage")
Database.close()
const busy = (error: unknown) =>
typeof error === "object" && error !== null && "code" in error && error.code === "EBUSY"