All workAndrew Cates.

Project 51 of 84

Lighthouse Fleet

Fleet-wide rollup dashboard and weekly Slack regression digest for the self-hosted Lighthouse CI (LHCI) server, so every monitored site's performance/a11y/best-practices/SEO trend and regressions are visible in one place.

Status
Shipped
Area
Starters & Templates
Last activity
2026
Stack
  • pnpm workspaces
  • TypeScript project references
  • Next.js
  • React
  • Tailwind
  • shadcn/Radix
  • TanStack Table
  • Hono

Highlights

  1. Migrated a live dashboard API and its weekly cron from Render buildpack deploys to immutable ECR images (GitHub OIDC, no static keys) and then to CapRover on a self-hosted Hostinger box, adding a health-gated deploy workflow and retiring all Render config.
  2. Cut the API container image from 1.52GB to 910MB (-40%) by splitting the Dockerfile into build, prod-only deps, and runtime stages and moving tsx to a runtime dependency.
  3. Closed all 21 Supabase Advisor rls_disabled_in_public errors on a production database by enabling RLS and revoking anon/authenticated grants after verifying the app's only DB path was the BYPASSRLS owner role; confirmed with an anon-key negative check and a live /health/deep smoke test.
  4. Removed every @ts-nocheck from a Hono API (9 route files) after measuring that 7 were unnecessary or dead, fixing the 2 real type defects with a discriminated-union resolveOrg return and characterization tests (158 tests passing, lint warnings 73 to 64).
  5. Stood up the repo's first CI quality gate (lint, typecheck, both Next.js builds, Vitest, migration check against fresh Postgres) plus a secret-scan-gated manual Vercel deploy, and fixed a gate bug where gitleaks/trufflehog findings could never fail the job.
  6. Executed a 9-story plan to move a live production service between GitHub orgs, with explicit checks that its Vercel and Render deploy targets survived the transfer, GitHub secrets were inventoried, and an independent architect verification pass ran (all 9 stories marked passing in .omc/prd.json).
  7. Added a /health/deep readiness endpoint with a real database round trip, used as the post-deploy and uptime-monitoring signal.