Commit Graph

6 Commits

Author SHA1 Message Date
Mikhail Chusavitin
04ad1f0568 Structured logging + request ID middleware — ingest v2.0, history v2.0, api v2.0
Migrate all log.Printf/log.Fatalf to log/slog with structured key-value
attributes per bible go-logging contract.

- Add withRequestID middleware: generates crypto/rand 8-byte hex ID per
  request, sets X-Request-ID response header, injects into context
- withErrorLogging uses slog with request_id from context
- writeError internal log calls migrated to slog.Error/slog.Warn
- All handler log calls in api, ingest, history packages use slog
- cmd/reanimator-api configures slog.NewTextHandler(os.Stdout) at startup
- cmd/reanimator-migrate, cmd/reanimator-reset migrated to slog

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:03:22 +03:00
c84102d2f1 Implement async manual CSV ingest, unified UI pagination/filters, and serial placeholder strategy 2026-02-21 22:14:04 +03:00
5518c3b405 feat: update ingest, registry, and UI flows 2026-02-15 21:50:35 +03:00
686c310466 Auto-apply migrations on startup 2026-02-05 23:30:33 +03:00
fe9e08f1a6 Add registry, ingest, timeline, tickets features 2026-02-05 22:49:11 +03:00
1528fd654a Bootstrap milestone 0 and default API port 9999 2026-02-04 22:00:29 +03:00