mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 11:07:40 +01:00
Static-list smoke caught compile + db breakage but missed regressions specific to [id] route handlers — readIdParam errors, per-row drizzle queries, the parameter-handling lifecycle, etc. Discover the first person id from /api/people (already smoked), then GET /api/people/<id> and assert 2xx/3xx. Skipped silently if jq isn't installed or the list is empty, so the script stays portable. Other dynamic GETs (/api/projects/<id>) aren't smoked because no list endpoint exists to derive an id without an extra DB roundtrip. 18 routes total now pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>