Skip to content

feat: enrich health endpoint with subsystem breakdown#253

Merged
glebis merged 1 commit intomainfrom
feature/health-endpoint-enrichment
Feb 20, 2026
Merged

feat: enrich health endpoint with subsystem breakdown#253
glebis merged 1 commit intomainfrom
feature/health-endpoint-enrichment

Conversation

@glebis
Copy link
Copy Markdown
Owner

@glebis glebis commented Feb 20, 2026

Summary

  • Adds check_subsystem_health() for per-subsystem status checks (database, bot)
  • Adds build_enriched_health() returning subsystems list, error_details, and error_counts
  • Integrates with error reporting module for runtime error counts
  • Backwards compatible — existing /health endpoint unchanged

Test plan

  • 8 async tests covering subsystem checks and enriched payload structure
  • Manual: curl /health endpoint, verify subsystems array and error_counts in response

Closes #199

🤖 Generated with Claude Code

…ls (#199)

Adds check_subsystem_health(), build_enriched_health() with per-subsystem
status (database, bot), error_details on failure, and error_counts from
the error reporting module.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@glebis glebis merged commit a0eca16 into main Feb 20, 2026
3 of 5 checks passed
@glebis glebis deleted the feature/health-endpoint-enrichment branch February 20, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Enrich health endpoint with error details and subsystem breakdown

1 participant