Implement comprehensive health monitoring for streams and threads
Some checks failed
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m7s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled

- Added RecoveryManager for automatic handling of health issues, including circuit breaker patterns, automatic restarts, and graceful degradation.
- Introduced StreamHealthTracker to monitor video stream metrics, including frame production, connection health, and error rates.
- Developed ThreadHealthMonitor for detecting unresponsive and deadlocked threads, providing liveness detection and responsiveness testing.
- Integrated health checks for streams and threads, reporting metrics and recovery actions to the health monitor.
- Enhanced logging for recovery attempts, errors, and health checks to improve observability and debugging.
This commit is contained in:
Siwat Sirichai 2025-09-27 12:27:38 +07:00
parent 8c08c815ce
commit b08ce27de2
9 changed files with 2173 additions and 11 deletions

View file

@ -2,7 +2,8 @@
"permissions": {
"allow": [
"Bash(dir:*)",
"WebSearch"
"WebSearch",
"Bash(mkdir:*)"
],
"deny": [],
"ask": []