Skip to content

feat: add health check support#266

Merged
DorianZheng merged 1 commit intoboxlite-ai:mainfrom
uran0sH:heal-check-v1
Feb 26, 2026
Merged

feat: add health check support#266
DorianZheng merged 1 commit intoboxlite-ai:mainfrom
uran0sH:heal-check-v1

Conversation

@uran0sH
Copy link
Copy Markdown
Contributor

@uran0sH uran0sH commented Feb 14, 2026

  • Add HealthCheckConfig to BoxOptions for configuring health checks
  • Add HealthState and HealthStatus types to track box health
  • Implement health check task with start_period grace period
  • Skip health checks during start_period to avoid false failures
  • Expose health status through BoxInfo.health_status field
  • Add health status state management (starting/healthy/unhealthy)
  • Track consecutive failures and mark box as unhealthy after retries

This is an initial framework with basic functionality:

  • Health check configuration and execution
  • Start period grace period logic
  • Health state tracking and status reporting

issue: #33

@uran0sH uran0sH force-pushed the heal-check-v1 branch 3 times, most recently from a456475 to 382ab02 Compare February 17, 2026 12:02
@uran0sH uran0sH changed the title feat: add health check support (initial framework) feat: add health check support Feb 17, 2026
@uran0sH uran0sH marked this pull request as ready for review February 17, 2026 12:04
@uran0sH uran0sH force-pushed the heal-check-v1 branch 7 times, most recently from 4a8cb40 to 595ccc9 Compare February 19, 2026 10:54
@uran0sH
Copy link
Copy Markdown
Contributor Author

uran0sH commented Feb 19, 2026

Hi @DorianZheng, if you have time, plz review this pr. Thanks

@uran0sH uran0sH force-pushed the heal-check-v1 branch 2 times, most recently from 7f12843 to b3b2006 Compare February 22, 2026 12:47
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 22, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@uran0sH uran0sH force-pushed the heal-check-v1 branch 5 times, most recently from b046762 to 035631f Compare February 26, 2026 02:07
@uran0sH uran0sH requested a review from DorianZheng February 26, 2026 02:58
- Add HealthCheckOptions to AdvancedBoxOptions for configuring health checks
- Add HealthState and HealthStatus types to track box health
- Implement health check task with start_period grace period
- Skip health checks during start_period to avoid false failures
- Expose health status through BoxInfo.health_status field
- Add health status state management (starting/healthy/unhealthy)
- Track consecutive failures and mark box as unhealthy after retries

Signed-off-by: Wenyu Huang <[email protected]>
@DorianZheng DorianZheng merged commit 93a3202 into boxlite-ai:main Feb 26, 2026
30 checks passed
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.

2 participants