CRITICAL: clavis-telemetry silent database errors in updateSpan() #2
Labels
No Label
approved
audit
bug
cardinal-rule-1
changes-requested
critical
feature
high
in-progress
low
medium
needs-qa
needs-review
qa-failed
security
security-approved
security-issues
security-review
violation
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: johan/clavitor#2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Violation
Per CLAVITOR-AGENT-HANDBOOK.md Part 1:
Location
File:
clavis/clavis-telemetry/main.goFunction:
updateSpan()(lines 323-358)Violation 1: Line 328 — Error from
QueryRownot checked:Error returned but silently ignored.
Violation 2: Line 332 — Error checked but not logged with unique code:
Used for flow control, never logged when non-nil.
Violation 3: Lines 335, 338, 354 —
db.Exec()errors not checkedWhy This Matters
Silent database failures mean:
Required Fix
db.QueryRow()errors with unique codesdb.Exec()errors with unique codesERR-TELEMETRY-XXX: <context> - <details>Assignment