From bc1f9c59c2b15099d378680665bbe02883028f69 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 Mar 2026 06:23:18 +0000 Subject: [PATCH] Add host-side prototype smoke test command --- README.md | 1 + docs/PROTOTYPE_DEPLOYMENT.md | 3 +++ package.json | 1 + 3 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 9f1b16e1..69783ea2 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ For a single-host prototype, use Docker Compose with the repo root [`docker-comp ```bash cp .env.example .env ./scripts/prototype-up.sh +pnpm prototype:self-test ``` See [docs/PROTOTYPE_DEPLOYMENT.md](docs/PROTOTYPE_DEPLOYMENT.md) for the required environment variables and day-to-day commands. diff --git a/docs/PROTOTYPE_DEPLOYMENT.md b/docs/PROTOTYPE_DEPLOYMENT.md index 36965ffe..d01ca606 100644 --- a/docs/PROTOTYPE_DEPLOYMENT.md +++ b/docs/PROTOTYPE_DEPLOYMENT.md @@ -62,10 +62,13 @@ docker compose logs -f mcp-server docker compose logs -f cosmos-emulator docker compose logs -f azurite docker compose logs -f mailpit +pnpm prototype:self-test ./scripts/prototype-self-test.sh docker compose down ``` +`pnpm prototype:self-test` is the stable host-side smoke-test entrypoint. It runs the same end-to-end check as the underlying shell script, but gives ops a single repo-level command to remember. + The Cosmos Data Explorer is exposed on `http://localhost:1234`. Azurite Blob Storage is exposed on `http://localhost:10000`. Mailpit SMTP listens on `localhost:1025` and the Mailpit inbox UI is exposed on `http://localhost:8025`. diff --git a/package.json b/package.json index 7c133001..00aefda1 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"", "audit": "pnpm -r audit --audit-level moderate", "clean": "pnpm -r exec rm -rf dist", + "prototype:self-test": "./scripts/prototype-self-test.sh", "prepare": "husky install" }, "devDependencies": {