Fixes #2, #3, #4 Issue #2 - Silent database errors in updateSpan(): - Add error handling for telemetry INSERT (ERR-TELEMETRY-004) - Add error handling for all table/index creation (ERR-TELEMETRY-005 to -010) - Return HTTP 500 to client on insert failure Issue #3 - Silent failure in Kuma push: - Return early on non-OK status from Kuma - Proper error logging with body close handling Issue #4 - Unchecked flush error in tarpit: - Verify http.Flusher available before tarpit - Log ERR-TELEMETRY-040 and abort if flusher unavailable - Remove redundant flusher checks in loop All changes: security failures are now LOUD (Cardinal Rule #1) Author: Hans <hans-20250409-001> |
||
|---|---|---|
| .. | ||
| CLAUDE.md | ||
| clavis-telemetry | ||
| go.mod | ||
| go.sum | ||
| kuma.go | ||
| main.go | ||
| main_test.go | ||