diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcbaf67a..0e9ae1c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,28 @@ jobs: - name: Source-of-truth drift check run: node scripts/check-source-of-truth.mjs + # ── Docs build ─────────────────────────────────────────────────────────── + # Nothing else compiles the docs site: its production image is a local + # build outside the release pipeline. VitePress fails on a Vue compile + # error and on a dead link, so this job is the only guard against either. + docs-build: + runs-on: ubuntu-latest + needs: syntax-check + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + cache-dependency-path: docs/package-lock.json + - name: Install docs dependencies + run: npm ci --prefix docs --ignore-scripts + - name: Build docs site + run: npm run docs:build --prefix docs + - name: Check build output + run: test -f docs/.vitepress/dist/index.html + # ── Package test jobs ───────────────────────────────────────────────────── # Each package gets its own job so failures are attributed clearly. # No --passWithNoTests: a suite with zero tests is a CI failure. diff --git a/docs/architecture/authority/wave-validation-plan.md b/docs/architecture/authority/wave-validation-plan.md index 72d448c8..3d9e79f4 100644 --- a/docs/architecture/authority/wave-validation-plan.md +++ b/docs/architecture/authority/wave-validation-plan.md @@ -17,7 +17,7 @@ the Level 1 authority architecture is correctly implemented. It is organized around the inventory findings (F-01..F-15) recorded in [`./current-state-inventory.md`](./current-state-inventory.md), the test matrix in [`./level-1-core.md`](./level-1-core.md) §15, and the -binding decisions in [`../adr/`](../adr/) ADR-0001..0008. +binding decisions in [`../adr/`](../adr/README.md) ADR-0001..0008. Every entry names a defect or invariant and the expected observable result. Where the expected result depends on database rejection, the diff --git a/docs/installation/deployment-runbook.md b/docs/installation/deployment-runbook.md index 815b6a04..c07e66d5 100644 --- a/docs/installation/deployment-runbook.md +++ b/docs/installation/deployment-runbook.md @@ -144,7 +144,7 @@ To enable plugin evaluation in production: inspect then carries RepoDigests — the executor's digest gate rejects local-only builds). 2. Read the manifest digest from the push output (or - `docker inspect --format '{{json .RepoDigests}}'`), then pull it to the + docker inspect --format '{{json .RepoDigests}}'), then pull it to the production host digest-pinned: `docker pull /gitwire-plugin-sandbox@sha256:`. 3. Set BOTH values in `production.env`: - `GITWIRE_PLUGIN_SANDBOX_IMAGE_REF=/gitwire-plugin-sandbox[:]` @@ -810,13 +810,13 @@ After a deployment, confirm all of the following: | New tables exist | `\dt` in psql | Includes release-specific tables | | Container version matches | `curl localhost:3000/health` (`.version`) | Release version | | Container git_sha matches | `curl localhost:3000/health` (`.git_sha`) | Release commit SHA — **NOT `"unknown"`** | -| Container on fresh image | `docker inspect -f '{{.Image}}' gitwire-gitwire-app-1` | Matches `docker images gitwire-gitwire-app:latest -q` | +| Container on fresh image | docker inspect -f '{{.Image}}' gitwire-gitwire-app-1 | Matches `docker images gitwire-gitwire-app:latest -q` | | All containers healthy | `docker ps` | 10 containers, all `(healthy)` (v0.23.0+: includes executor-service) | | API responds | `curl localhost:3000/health` | `{"status":"ok"}` | | External URL works | `curl https://gitwire.erlab.uk/health` | `{"status":"ok"}` | | No errors in logs | `docker logs gitwire-gitwire-app-1 --tail 50` | No exceptions | | Redis memory durable | `redis-cli CONFIG GET maxmemory` | `268435456` (after recreate) | -| Executor service healthy | `docker inspect -f '{{.State.Health.Status}}' gitwire-gitwire-executor-service-1` | `"healthy"` | +| Executor service healthy | docker inspect -f '{{.State.Health.Status}}' gitwire-gitwire-executor-service-1 | `"healthy"` | | Executor service reachable from app | `curl localhost:3000/health` (`.executor.selected_backend_id`) | `"executor-service"` | | App has NO Docker socket | `docker exec gitwire-gitwire-app-1 ls /var/run/docker.sock 2>&1` | `No such file or directory` |