@@ -85,8 +85,9 @@ We review as capacity allows — focused PRs that follow this guide move fastest
8585| pnpm | 10+ | Required for desktop app commands and ` just ci ` |
8686| Flutter | 3.47.9+ | Required for mobile app — install via [ flutter.dev] ( https://docs.flutter.dev/get-started/install ) |
8787| Xcode | 27.1 recommended; 26 supported | Required for iOS builds; see [ iOS toolchain setup] ( mobile/README.md#ios-toolchain ) |
88- | Docker | 24+ | For Postgres, Redis, MinIO |
88+ | Docker | 24+ | For Postgres, Redis, MinIO (and opt-in OpenSearch) |
8989| ` just ` | latest | Task runner — ` cargo install just ` |
90+ | ` cargo-nextest ` | 0.9.136+ | Faster unit tests; required for ` just test-postgres ` and ` just test-search ` |
9091| ` lefthook ` | 2.1.3 (Hermit-pinned) | Auto-installed by ` just hooks ` — no manual install needed |
9192| ` sqlx ` migrations | workspace crate | ` just migrate ` applies embedded migrations from ` migrations/ ` |
9293
@@ -179,6 +180,13 @@ just relay # terminal 1 — relay on ws://localhost:3000
179180just desktop-dev # terminal 2 — Vite dev server only (no Tauri shell)
180181```
181182
183+ To also run the opt-in local OpenSearch message index (auto-starts the
184+ ` buzz-opensearch ` container on ` :9200 ` ):
185+
186+ ``` bash
187+ just search=1 relay # or `just search=1 dev`
188+ ```
189+
182190### Stopping / Resetting
183191
184192``` bash
@@ -264,11 +272,20 @@ Set `BUZZ_POSTGRES_ADMIN_URL` to that role's maintenance database, and set
264272schema bootstrap. PostgreSQL client tools are resolved from ` PATH ` unless
265273` PG_BIN_DIR ` is set. Tests that use Redis read ` REDIS_URL ` .
266274
267- With native PostgreSQL and Redis running, the complete lane is below. The
268- runner bounds compilation to the packages discovered from the current source
269- tree and removes the run-scoped desired-state source database on exit.
270- Per-test and source-database cleanup retries transient PostgreSQL disconnect
271- races and emits a warning if all five attempts fail.
275+ Against the local Docker Compose stack, the ` just ` recipes auto-start the
276+ needed containers and set the local Postgres/OpenSearch environment variables
277+ for you (requires ` cargo-nextest ` and PostgreSQL client tools such as ` psql ` /
278+ ` createdb ` / ` dropdb ` ):
279+
280+ ``` bash
281+ just test-search # Postgres FTS + OpenSearch tests
282+ just test-postgres # full PostgreSQL-backed lane
283+ just test-postgres -p buzz-db --lib # a single package or filter
284+ ```
285+
286+ Against native PostgreSQL and Redis (or CI), run the script directly after
287+ setting ` BUZZ_POSTGRES_ADMIN_URL ` , ` PGHOST ` , ` PGPORT ` , ` PGUSER ` , ` PGPASSWORD ` ,
288+ and ` REDIS_URL ` :
272289
273290``` bash
274291./scripts/postgres-test-run.sh
0 commit comments