Repository navigation
feat(projects): add VectorsDB onboarding stages - #15186
Conversation
Project onboarding records the first time a project creates a TablesDB, DocumentsDB or legacy database, table and row, but not a VectorsDB database, collection or document.
|
Review complete. No blocking issues — approved ✅; 1 nitpick below. 🧹 Nitpicks (1) — 🟢 1 low
The PR wires the VectorsDB service into project onboarding: three new stage keys are registered server-side, and the shared e2e base for the Project service learns to exercise and await them. Server-side wiring and test coverage are consistent with the existing databases/tablesDB stages.
Reviewed commit: 00ae2c0 |
🟢 Tier S · Ready to mergeRegisters VectorsDB database, collection, and document creation as project onboarding stages, and adds server E2E coverage for listing and completing the database stage. The Console onboarding checklist now recognizes these VectorsDB stages when calculating database-step progress. Latest changes: The newest commit adds the VectorsDB database and schema method keys to the Console onboarding checklist’s tracked stage arrays.
📂 Walkthrough · 3
Reviewed the commits since |
|
Fixed the nitpick in b443bc3: the console's "Create a database" and "Define tables and load data" steps now also count |
commit: |
Security rulesNo new WARNING or ERROR findings from security rules. 6 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
What does this PR do?
Adds
vectorsDB.create,vectorsDB.createCollectionandvectorsDB.createDocumentto the project onboarding stages inapp/config/onboarding.php.Onboarding already records the first time a project creates a TablesDB, DocumentsDB or legacy database, collection and document. VectorsDB was the only database product missing. With these stages, the stages API lists VectorsDB and the shutdown hook in
app/controllers/shared/api.phpstamps it like the others.The console onboarding checklist counts the new stages too: in
apps/console/src/lib/onboarding/project-onboarding.ts, "Create a database" and "Define tables and load data" are done when a project completes a VectorsDB database, collection or document, as they already are for the other database products.Test Plan
StagesBase::testListProjectStagesnow also expectsvectorsDB.create.StagesBase::testCreateVectorsDBDatabaseCompletesStage: creating a VectorsDB database with an API key completes thevectorsDB.createstage.POST /v1/vectorsdbcall recordedvectorsDB.createon the project's onboarding map.Related PRs and Issues
Checklist