17 Commits

Author SHA1 Message Date
repair-agent
749cddf561 fix: use Harbor token auth for image cleanup on Volcano Engine CR
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 5s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:09:52 +08:00
repair-agent
72703b84bb feat: auto cleanup old images, keep latest 5 versions per repo
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 9s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 17:03:16 +08:00
repair-agent
9606d4a94b feat: use env-date-commit format for image tags
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 5s
Tag format: dev-20260402-8920dad / prod-20260402-8920dad

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:59:37 +08:00
repair-agent
8920dad45c feat: add version tagging with git commit hash for images
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 5s
Each build now tags images with both commit hash and latest,
enabling precise rollback with kubectl set image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:54:00 +08:00
repair-agent
0fdc62b99e fix: disable buildkit to use host Docker daemon and mirror cache
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 58s
Buildkit runs in isolated network and can't access mirrors.
Legacy builder uses host daemon directly with registry-mirrors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:46:41 +08:00
repair-agent
836c8e9c18 fix: simplify kubectl setup, now mounted via runner config
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 8s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:21:31 +08:00
repair-agent
e9b9a4fd2f fix: replace actions/checkout with git clone from Gitea
Some checks are pending
Build and Deploy Log Center / build-and-deploy (push) Waiting to run
Completely eliminate GitHub dependency in CI/CD pipeline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:17:16 +08:00
repair-agent
b9a4dd62c4 fix: remove GitHub dependencies from CI/CD workflow
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 1m31s
Replace all GitHub-hosted actions with shell commands to avoid
GitHub connectivity issues on China servers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:14:43 +08:00
repair-agent
34938a1aa0 fix cicd
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 31s
2026-04-02 16:07:43 +08:00
repair-agent
7e44d5b786 fix cicd
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Has been cancelled
2026-04-02 15:54:01 +08:00
repair-agent
0d9acd5bbc fix first
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 4m10s
2026-04-02 15:49:10 +08:00
repair-agent
b2a2b1079f fix cicd fail
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Has been cancelled
2026-04-02 15:43:41 +08:00
repair-agent
eeb27514bb add cicd 迁移
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 12m39s
2026-04-02 15:27:13 +08:00
zyc
cd22a5696b fix(cicd): 修复 CI/CD 错误上报数据不全和 URL 跳转错误
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Failing after 1m11s
- 构建步骤改用 docker buildx build + tee 捕获实际构建日志
- URL 改用 github.run_number 替代 github.run_id(修复跳转到错误页面)
- 改为单一综合失败上报步骤,收集实际错误日志到 stack_trace
- 补充 repo_url、actor、commit 等缺失字段
- 使用 ${{ }} 模板语法替代 $GITHUB_* 环境变量

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 10:15:58 +08:00
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