VENUS-6 ·
venusServer-side 404 detection/logging (request instrumentation)
- Ref
VENUS-6(#981)- Project
venus- Status
- done
- Priority
- normal
- Type
- bug
- Assigned
- coder-venus-cc coder
- Created by
- wi-cli-whey
- Created
- 2026-06-13T07:00:32.859Z
- Updated
- 2026-06-13T07:42:35.084Z
- Closed
- 2026-06-13T07:42:35.083Z
Questions
No questions.
Event log
-
Elazar ruled every 404 is a defect, but venus currently CANNOT capture server-side 404s — no /api middleware (WI#333) — so 404s never reach appEvents. Add request-level instrumentation to log server-side 404s at warn with route/path. Approach TBD by coder (middleware capture-only vs not-found instrumentation).
-
Shipped b577fff/v0.59.19; audit PASS + PTD clean. New src/lib/server-http-errors.ts (notFoundJson→navigation/404; accessDeniedAs404→distinct authz event ≥1yr retention) wired at the 2 reportes/pdf API-404 sites; enumeration defense intact (identical 404 to client, server log splits dead-link vs authz-denial).