You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storage: replace the O(N) connectivity walk with bounded SQL queries (25c7a1f)
BREAKING CHANGES
the store factories createObjectStore, createRefStore, and createSnapshotStore now accept a porsager Sql client instead of a Kysely<Database>.
the queryable file view moves from repo_view_files/repo_view_blobs to repo_file joined to git_object, and RepoBackend drops getObject and gains an includeTag argument on buildPack.
migration 0001_init is rewritten to the postgres-native schema (repos/git_object/git_ref) and drops the pack-blob model (packs/objects/refs, the dead_at soft-delete reaper, the offline repack worker); existing databases must be recreated.
createObjectStore and createRefStore now require a Kysely rather than a postgres Sql and no longer provide migrate(); apply schema via db.manage or migrateToLatest.
createGitApp now requires injected object/ref stores (GitAppDeps) and no longer accepts CreateGitAppOptions/databaseUrl; the removed AppEnv type and the old startServer-builds-app behavior are replaced by serveOnPort.