All workAndrew Cates.

Project 50 of 84

Lighthouse CI Server

Self-hosted Lighthouse CI (@lhci/server) instance plus a small toolkit (registration CLI, Puppeteer login helpers, a Claude Code onboarding skill) so every catesworks web app reports Lighthouse scores to one place.

Status
Shipped
Area
Infra & Platform Ops
Last activity
2026
Stack
  • TypeScript
  • Node.js
  • pnpm workspaces
  • Turborepo
  • PostgreSQL
  • Docker
  • AWS ECR
  • CapRover

Highlights

  1. Diagnosed an over-quota Supabase database (854 MB of stored Lighthouse JSON against a 0.5 GB free tier) and shipped a 30-day build-retention cron sized from measured growth (~15 MB/day), rejecting Neon, paid tiers and S3 storage after comparing each against LHCI's SQL-only storage.
  2. Added a PR/push CI gate that also dogfoods the product: it runs Lighthouse CI against the project's own docs site and boots the server against a throwaway Postgres 16 container to prove schema bootstrap and health end to end.
  3. Launched a public Docusaurus docs site with a Skills Catalog (lighthouse-docs.catesworks.dev) through a 5-pass architect/critic plan review that caught a domain collision which would have taken the live server offline.
  4. Built a static Next.js 16 marketing site (41 pages) whose tests parse the CLI and login-helper source, so any new command, flag or export fails CI until it has a documentation page and marketing claims cannot drift from the code.
  5. Packaged the repo's Claude Code onboarding skill for three install channels (npm, pnpm workspace, plugin marketplace) with generate/sync/validate scripts and Changesets-driven releases, and wrote repo-wide coding standards and a domain glossary.