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
remove datasets and products modules, reset migrations (#96)
* remove datasets and products modules, reset migration history
The datasets and products example modules are removed from the workspace
along with all wiring (host pyproject, root pyproject, CLI catalog) and
the integration/e2e tests that exercised them as their CRUD subject.
Dashboard's product-count tile and the workspace dep on simple_module_products
are also dropped.
To avoid leaving frozen migrations referencing deleted modules, every file
under host/migrations/versions/ is replaced by a single autogenerated
77162e7b184b_initial_schema.py. The fresh schema contains tables for the
remaining 8 modules (auth/users/permissions/dashboard/settings/feature_flags/
file_storage/background_tasks) and `alembic check` reports no drift.
Verified: 943 Python tests pass, 8 JS tests pass, make lint clean, doctor
exits 0, host boots and /health reports the new revision as current.
* exempt host/migrations/versions from 300-line file cap
Alembic autogen rolls every installed module's tables into a single
initial migration. The current 77162e7b184b lands at 382 lines and
growing the schema will only push it higher. Migrations aren't
hand-authored, so the cap doesn't add value here.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ make migrate
44
44
make dev
45
45
```
46
46
47
-
Hit `http://localhost:8000` — you land on the public page. `/users/login` is the email+password login, `/dashboard` is the authenticated home, `/products` is a fully-working example module.
47
+
Hit `http://localhost:8000` — you land on the public page. `/users/login` is the email+password login, `/dashboard` is the authenticated home.
@@ -71,38 +58,6 @@ The tests read these environment variables (all optional):
71
58
|`E2E_PASSWORD`|`admin`| Password of the above admin user. |
72
59
|`SM_USERS_VERIFICATION_TOKEN_SECRET`|`dev-verify-token-secret-change-me`| Must match the running server's value so locally-minted invite tokens are accepted. |
73
60
74
-
## What the smoke tests cover
75
-
76
-
**`test_login_and_browse_smoke`**
77
-
78
-
1. Landing page renders (`/`) with the "Get Started" CTA.
0 commit comments