Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture/authority/wave-validation-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/installation/deployment-runbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<code v-pre>docker inspect --format '{{json .RepoDigests}}'</code>), then pull it to the
production host digest-pinned: `docker pull <registry>/gitwire-plugin-sandbox@sha256:<digest>`.
3. Set BOTH values in `production.env`:
- `GITWIRE_PLUGIN_SANDBOX_IMAGE_REF=<registry>/gitwire-plugin-sandbox[:<tag>]`
Expand Down Expand Up @@ -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 | <code v-pre>docker inspect -f '{{.Image}}' gitwire-gitwire-app-1</code> | 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 | <code v-pre>docker inspect -f '{{.State.Health.Status}}' gitwire-gitwire-executor-service-1</code> | `"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` |

Expand Down
Loading