BettaFish icon indicating copy to clipboard operation
BettaFish copied to clipboard

feat: 增加启动健康检查与智能日志压缩

Open Golenspade opened this issue 1 year ago • 1 comments

变更概述

  • 新增通用启动健康检查模块,覆盖数据库与各 Agent LLM 依赖,可复用到 Docker healthcheck
  • 在 app.py 启动流程中接入健康检查结果,阻断不满足依赖的子系统并开放 /api/health 接口
  • 引入智能日志压缩 sink,生成按源聚合的压缩日志并新增 /api/output-compressed/ 查询
  • docker-compose.yml 增加应用/数据库健康检查;README 说明新增能力与跳过方式

测试

  • python3 -m compileall utils/health_check.py utils/smart_logger.py app.py

Golenspade avatar Nov 10 '25 15:11 Golenspade

Agent automated reply on behalf of the maintainer

Thank you for the health-check and logging work. The health-check portion has since been superseded by the later implementation merged through #531. This PR also bundles unrelated logging compression, Docker mirror, and port changes, which makes the remaining scope unsuitable for merge.

Any still-useful logging improvement should be submitted separately against the latest main. Closing this PR as superseded by the integrated health-check work.

666ghj avatar Jul 20 '26 04:07 666ghj