feat: bootstrap initial Convex backend#63
Conversation
Greptile SummaryThis PR bootstraps the initial Convex backend for VRDex: an explicit empty schema, a Key changes:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer / CI
participant Script as run-convex-local.mjs
participant CLI as convex CLI (local)
participant Backend as Local Convex Backend
participant Git as git diff
Dev->>Script: node scripts/run-convex-local.mjs dev --local --once --run health:status --tail-logs disable
Script->>Script: mkdirSync(.convex-home, .convex-tmp)
Script->>CLI: spawn(convexBin, args, { HOME=.convex-home, XDG_*=..., TMPDIR=.convex-tmp })
CLI->>Backend: Start local backend runtime
Backend-->>CLI: Backend ready
CLI->>CLI: Push functions & regenerate convex/_generated/
CLI->>Backend: Run health:status query
Backend-->>CLI: { status: "ok", backend: "convex", ... }
CLI-->>Script: exit 0
Script-->>Dev: exit 0
Dev->>Git: git diff --exit-code -- convex/_generated
Git-->>Dev: (empty diff = pass)
|
|
Addressed the latest Greptile summary follow-ups in
|
Summary
health:statusqueryCloses #54