stela ops usage fixes roles propagation and timoeut, one account to support multi tenants, migrations consolidation, search to support documentation, doctor and open api vector db search
This commit is contained in:
@@ -122,26 +122,37 @@ kubectl get pods -n stellaops-green -w
|
||||
### Run Migrations
|
||||
|
||||
```bash
|
||||
# Step 16: Apply Category A migrations (startup)
|
||||
# Step 16: Check current migration state (CLI-registered modules)
|
||||
stella system migrations-status --module all
|
||||
|
||||
# Step 17: Verify checksums before execution
|
||||
stella system migrations-verify --module all
|
||||
|
||||
# Step 18: Preview release migrations (manual gate)
|
||||
stella system migrations-run \
|
||||
--category A \
|
||||
--namespace stellaops-green
|
||||
--module all \
|
||||
--category release \
|
||||
--dry-run
|
||||
|
||||
# Step 17: Verify migration success
|
||||
stella system migrations-status --namespace stellaops-green
|
||||
# All migrations should show "Applied"
|
||||
|
||||
# Step 18: Apply Category B migrations if needed (manual)
|
||||
# Review migration list first
|
||||
stella system migrations-pending --category B
|
||||
|
||||
# Apply after review
|
||||
# Step 19: Execute approved release migrations
|
||||
stella system migrations-run \
|
||||
--category B \
|
||||
--namespace stellaops-green \
|
||||
--confirm
|
||||
--module all \
|
||||
--category release \
|
||||
--force
|
||||
|
||||
# Step 20: Verify migration success
|
||||
stella system migrations-status --module all
|
||||
```
|
||||
|
||||
Migration notes:
|
||||
|
||||
- Category names are `startup`, `release`, `seed`, and `data`.
|
||||
- Compose and service startup paths may apply additional migrations outside CLI coverage.
|
||||
- Use `docs/db/MIGRATION_INVENTORY.md` for current module-by-module runner coverage before production upgrade.
|
||||
- Canonical consolidation policy and wave plan are in `docs/db/MIGRATION_CONSOLIDATION_PLAN.md`.
|
||||
- For upgradeable on-prem environments, treat this CLI sequence as the required release migration gate.
|
||||
- UI-triggered migration operations must execute through Platform admin APIs (`/api/v1/admin/migrations/*`) with `platform.setup.admin` (no browser-direct PostgreSQL access).
|
||||
|
||||
### Evidence Migration (If Required)
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user