Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1c4b2bc
feat: add gitdb runtime benchmarks and site
3x-haust Jun 13, 2026
106745d
refactor: rebuild gitdb as first-party runtime
3x-haust Jun 14, 2026
5e916f8
ci: add gitdb contract baseline
3x-haust Jun 14, 2026
a5aadcc
test: expand gitdb regression harness
3x-haust Jun 14, 2026
57c1d96
test(perf): add benchmark gate
3x-haust Jun 14, 2026
a88cfa6
feat(storage): define v2 commit contract
3x-haust Jun 14, 2026
751deed
docs(api): freeze public migration contract
3x-haust Jun 14, 2026
5a6adaf
feat(storage): add atomic local writes
3x-haust Jun 14, 2026
bbfecaf
feat(storage): implement local v2 stores
3x-haust Jun 14, 2026
2d43a05
feat(engine): commit transactions through store batches
3x-haust Jun 14, 2026
ef28ef6
feat(storage): migrate v1 stores safely
3x-haust Jun 14, 2026
e4ef06e
fix(storage): read github encrypted v2 manifests
3x-haust Jun 14, 2026
f3b3644
feat(orm): add bulk repository writes
3x-haust Jun 14, 2026
17344a7
feat(orm): declare secondary index metadata
3x-haust Jun 14, 2026
2505742
feat(storage): add local writer locks
3x-haust Jun 14, 2026
31645e4
test(cli): cover env and command surface
3x-haust Jun 14, 2026
6aef5de
feat(github): add git database client
3x-haust Jun 14, 2026
f02055a
feat(github): batch remote writes with tree commits
3x-haust Jun 14, 2026
95ad9b0
feat(snapshot): write page-level visible checkpoints
3x-haust Jun 14, 2026
b51fd2b
feat(engine): add rebuildable equality indexes
3x-haust Jun 14, 2026
a351c2b
feat(engine): compact committed logs safely
3x-haust Jun 14, 2026
7a0ca42
docs: document gitdb runtime guarantees
3x-haust Jun 14, 2026
018f544
docs(release): define credential-gated handoff
3x-haust Jun 14, 2026
4259d32
perf(bench): publish rebuild benchmark evidence
3x-haust Jun 14, 2026
67a048c
docs(site): present gitdb runtime guarantees
3x-haust Jun 14, 2026
39442c0
ci(release): add npm publish dry-run workflow
3x-haust Jun 14, 2026
780fbca
docs(release): prepare rebuild handoff
3x-haust Jun 14, 2026
af246b8
test(cli): allow cold build under full suite load
3x-haust Jun 14, 2026
e08a421
perf(bench): refresh final benchmark evidence
3x-haust Jun 15, 2026
9ff90ca
docs(examples): add API encryption examples
3x-haust Jun 15, 2026
fac71cf
ci: fix pnpm setup in validation workflow
3x-haust Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
package-manager-cache: false
- run: corepack enable
- run: corepack pnpm install --frozen-lockfile
- run: corepack pnpm check
- run: corepack pnpm test
- run: corepack pnpm build
- run: GITDB_BENCH_ROWS=25 corepack pnpm benchmark:gate
- run: corepack pnpm pack:dry-run
31 changes: 31 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy site

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
id-token: write
pages: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: site
- id: deployment
uses: actions/deploy-pages@v4
63 changes: 63 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Release package

on:
workflow_dispatch:
inputs:
publish:
description: Publish to npm after package dry-run validation.
required: false
type: boolean
default: false
push:
tags:
- "v*"

permissions:
contents: read
id-token: write

concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false

jobs:
dry-run:
name: Validate package dry-run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
package-manager-cache: false
- run: corepack enable
- run: corepack pnpm install --frozen-lockfile
- run: corepack pnpm check
- run: corepack pnpm test
- run: corepack pnpm build
- run: GITDB_BENCH_ROWS=25 corepack pnpm benchmark:gate
- run: corepack pnpm pack:dry-run
- run: corepack pnpm publish:dry-run

publish:
name: Publish to npm
needs: dry-run
if: ${{ startsWith(github.ref, 'refs/tags/v') && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.publish)) }}
runs-on: ubuntu-latest
environment: npm-publish
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: https://registry.npmjs.org
package-manager-cache: false
- run: corepack enable
- run: corepack pnpm install --frozen-lockfile
- run: corepack pnpm check
- run: corepack pnpm test
- run: corepack pnpm build
- run: corepack pnpm pack:dry-run
- name: Publish with npm trusted publishing
run: COREPACK_ENABLE_STRICT=0 npm publish --access public
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ dist
.gitdb
.gitdb-example-public
.env
examples/express-prisma/.env
examples/express-prisma/generated
.DS_Store
coverage
*.tsbuildinfo
.omo
plans
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ RUN pnpm build
FROM node:20-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
ENV GITDB_HOST=0.0.0.0
ENV GITDB_PORT=7432
ENV PORT=3000
COPY package.json pnpm-lock.yaml ./
RUN corepack enable && corepack prepare pnpm@10.33.0 --activate && pnpm install --prod --frozen-lockfile
COPY --from=build /app/dist ./dist
EXPOSE 3000
EXPOSE 7432
CMD ["node", "dist/src/http/main.js"]
CMD ["node", "dist/src/cli/main.js", "check"]
Loading