Imported from bare git on Zurich
Go to file
James c082f84109 test: Add comprehensive error handling tests for clavis-telemetry
Adds test coverage for issues #002, #003, #004:
- TestUpdateSpan_MaintenanceModeError: Verifies ERR-TELEMETRY-010 logging
- TestUpdateSpan_UptimeSpanQueryError: Verifies ERR-TELEMETRY-011 logging
- TestSendKumaPush_DatabaseError: Verifies ERR-TELEMETRY-033 logging
- TestSendKumaPush_NetworkError: Verifies ERR-TELEMETRY-030 logging
- TestSendKumaPush_NonOKStatus: Verifies ERR-TELEMETRY-031 logging
- TestTarpit_EarlyDisconnect: Verifies tarpit handles client disconnect
- TestErrorCodes_Unique: Verifies all error codes are unique (caught duplicates!)
- TestErrorCodes_Format: Verifies error message format compliance
- TestHandleTelemetry_DatabaseInsertError: Verifies ERR-TELEMETRY-004
- TestConcurrentErrorHandling: Verifies thread-safe error logging

Also fixes duplicate error codes found by tests:
- ERR-TELEMETRY-010 -> ERR-TELEMETRY-015 for maintenance table creation
- Added ERR-TELEMETRY-034 for Kuma response body close after non-OK status

fixes #002
fixes #003
fixes #004

Author: Shakib <shakib-20250409-001>
2026-04-09 03:35:27 -04:00
clavis test: Add comprehensive error handling tests for clavis-telemetry 2026-04-09 03:35:27 -04:00
clavitor.ai api: add /api/currencies endpoint for currency dropdown 2026-04-09 03:33:54 -04:00
design-system chore: auto-commit uncommitted changes 2026-03-24 06:02:53 -04:00
docs Capture workflow friction from Hans' first real test session 2026-04-09 01:22:01 -04:00
forge/dispatcher dispatcher: add domain-to-agent mapping and opencode agent spawning 2026-04-09 03:20:27 -04:00
issues telemetry: fix Cardinal Rule violations - add unique error codes 2026-04-08 18:05:00 -04:00
marketing Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
operations Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
scripts Fix daily-review.sh bugs found by Hans 2026-04-09 01:14:36 -04:00
.DS_Store Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
._.DS_Store chore: auto-commit uncommitted changes 2026-03-24 06:02:53 -04:00
._CLAVITOR-PRINCIPLES-REVIEW.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
._CLAVITOR-PRINCIPLES.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
CLAUDE.md Update root CLAUDE.md - mention Gitea login in Quickstart 2026-04-09 01:25:23 -04:00
CLAVITOR-AGENT-HANDBOOK.md Add workflow section: where to find tasks and review process 2026-04-09 01:06:20 -04:00
CLAVITOR-PRINCIPLES-REVIEW.md Update CLAVITOR-PRINCIPLES.md with all feedback fixes 2026-04-08 13:48:54 -04:00
CLAVITOR-PRINCIPLES.md Add George (market research) to agent personas 2026-04-08 14:43:52 -04:00
CLAVITOR-PRINCIPLES.md.backup Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
HANDBOOK-SECTION-ANALYSIS.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
HANDBOOK-STRUCTURE-PROPOSAL.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
PRINCIPLES-META-REVIEW.md Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
QUICKSTART.md Fix QUICKSTART.md with foundation approach - tea CLI just works 2026-04-09 01:25:08 -04:00
consolidate-clavitor-db-auto.sh Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
consolidate-clavitor-db-production.sh Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
consolidate-clavitor-db.sh Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
verify-db-consolidation.sh Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00