Commit Graph

7 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
229db81229 feat: improve timeline/admin flows and ingest projection repairs 2026-03-01 00:22:22 +03:00
8aa8b26184 Finalize history admin tools and semantic UI navigation 2026-02-23 16:59:09 +03:00
c84102d2f1 Implement async manual CSV ingest, unified UI pagination/filters, and serial placeholder strategy 2026-02-21 22:14:04 +03:00
3ffdf9b0e1 Migrate ingest and API paths to string IDs 2026-02-14 20:10:23 +03:00
5af1462645 Add analytics metrics and failure ingestion 2026-02-05 23:40:18 +03:00
fe9e08f1a6 Add registry, ingest, timeline, tickets features 2026-02-05 22:49:11 +03:00