Skip to content

Fix Monitor Service Error Handling and Recovery-created-by-agentic #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shaykeren
Copy link

This PR addresses the critical IllegalStateException failures in the MonitorService by implementing proper error handling and recovery mechanisms.

Changes made:

  1. Added proper health state tracking
  2. Implemented actual monitoring logic instead of throwing exceptions
  3. Added error recovery mechanism
  4. Improved health check implementation
  5. Fixed isRunning() method to return actual state

The changes will prevent the critical failures currently being experienced and provide better monitoring capabilities.

Related to IllegalStateException errors occurring in the monitor endpoint.

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.

1 participant