Status: Accepted (2026-11-28, O1)
Gates (CONTRIBUTING) were only run by hand. DB-backed tests skip when Postgres is unreachable, so a gate could pass on skipped tests (coordinator follow-up; S1 added LINORA_REQUIRE_DB=1 and LINORA_REQUIRE_S3=1). Perf benches are too noisy on shared runners (ADR 0015 amendment), and no test launches a browser.
.github/workflows/ci.yml runs on every push to main, every pull request, and by hand. Four parallel jobs, each with a timeout, all on ubuntu-24.04 with Node 26.4.0 and npm caching:
npm ci, npm run check (typecheck, ADR 0002 rules, lockfile integrity, OpenAPI drift), and npm run build (web plus compiled servers)..env.example, with a fresh LINORA_TOKEN_KEYS per run. Then db:migrate and npm test, with LINORA_REQUIRE_DB=1 and LINORA_REQUIRE_S3=1 so that missing services fail instead of skipping.prod:env (random secrets), prod:up (builds every image and waits for health), deploy/smoke.mjs through the edge, logs on failure, then teardown.npm audit --omit=dev --audit-level=high --package-lock-only (SR-22). Nothing depends on it, so a new advisory flags the run without blocking the other jobs.Supply chain (SR-22): actions are pinned to commit SHAs. npm ci verifies every tarball against the lockfile. tools/check-deps.mjs rule 7 requires every lock entry to resolve from registry.npmjs.org with a sha512 hash, and uWS stays pinned to a release tarball (rule 6).
Benches: .github/workflows/bench.yml runs only by hand (workflow_dispatch). It runs the interleaved before/after gate against a chosen ref with system Chrome and uploads the JSON. The gate of record stays on the reference machine.
npm test needs them.workflow scope.