3 Commits

Author SHA1 Message Date
zyc
c8204b6d47 feat(self-report): 日志中台自身接入错误上报
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 1m19s
- 新增 app/self_report.py:后端运行时异常直接写入自身数据库
- main.py:添加全局异常处理器 + 启动时注册 log_center_api/web 项目
- web/api.ts:添加 reportError 函数 + Axios 5xx 拦截器
- web/main.tsx:添加 window.onerror / onunhandledrejection 全局捕获
- deploy.yaml:CI/CD 流水线各步骤失败时上报(build/deploy)
- 重写 integration_guide.md:按三类上报(runtime/cicd/deployment)重新组织

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 10:08:26 +08:00
zyc
229d86e158 fix: 修复数据库迁移事务中断问题,补充 k8s-monitor 构建流水线
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m28s
- database.py: 使用 IF NOT EXISTS 避免 PostgreSQL 事务中断导致后续迁移 SQL 不执行
- deploy.yaml: 补充 k8s-pod-monitor 镜像构建和 CronJob 部署步骤

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 10:30:36 +08:00
zyc
637c479818 feat: initial log center with k8s deployment
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m30s
2026-01-30 11:49:47 +08:00