33db841592
fix git checkout
2026-02-24 17:10:16 +08:00
f9c84b211b
fix 百分比
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m38s
2026-02-24 17:04:39 +08:00
9a347d7929
feat(repair-agent): auto-merge fix branch to main after repair
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 9m30s
After pushing the fix branch, automatically merge it back to main and
push, so that CI/CD is triggered with the fix. Also cleans up the
remote fix branch after merge.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:03:17 +08:00
50301dfb8c
fix(git-manager): set upstream when pushing new branches
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 3m9s
push() was failing for new fix branches because they had no upstream
tracking branch. Now uses set_upstream=True with explicit refspec.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:50:31 +08:00
75fe8dfc0c
feat(repair-agent): scan all bug sources and improve CI/CD triage
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m56s
- task_manager: scan runtime + cicd + deployment sources (not just runtime)
- claude_service: add CI/CD-specific triage rules for build/deploy failures
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:33:08 +08:00
aa3a5b8c5d
fix(repair-agent): add git push after auto-commit
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m46s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:17:16 +08:00
d58ca4b131
feat(repair-agent): add triage and retry flow for FIX_FAILED bugs
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 4m15s
- Add fetch_failed_bugs() to task_manager
- Add triage_bug() to claude_service for AI-based bug classification
- Add retry_failed_project() to core with triage→fix pipeline
- Add retry CLI command to __main__.py
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:01:27 +08:00
625e53dc44
feat(project-mgmt): 项目管理 + 失败原因追踪 + 前端展示
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m16s
- 新增 Project 模型(repo_url, local_path, name, description)
- 项目 CRUD API(GET/PUT /api/v1/projects)
- 日志上报自动 upsert Project 记录
- ErrorLog 增加 failure_reason 字段
- update_task_status / create_repair_report 写入失败原因
- Repair Agent 优先从 API 获取项目配置,回退 .env
- 新增 Web 端「项目管理」页面(表格 + 行内编辑)
- BugList/BugDetail/RepairList 展示失败原因
- 更新接入指南文档
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 11:18:27 +08:00
0d4b2d634c
feat: 扩展日志收集,支持 CI/CD 构建错误和 K8s 部署错误
...
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m24s
新增两种日志来源(cicd / deployment),使日志中台覆盖"构建→部署→运行"全链路:
后端变更:
- models.py: 新增 LogSource 枚举和 source 字段,file_path/line_number 改为可选
- main.py: 按来源生成不同指纹策略,所有查询端点支持 source 筛选,仪表盘新增来源分布统计
- database.py: 新增 4 条迁移 SQL(source 字段、索引、字段可空)
- task_manager.py: 修复 Agent 仅拉取 runtime 来源的缺陷
新增组件:
- k8s-monitor/: K8s Pod 健康监控脚本(Python),每 5 分钟检测异常 Pod 并上报
- k8s/monitor-cronjob.yaml: CronJob + RBAC 部署清单
- scripts/report-cicd-error.sh: CI/CD 错误上报 Bash 脚本
- scripts/gitea-actions-example.yaml: Gitea Actions 集成示例
前端变更:
- api.ts: 类型定义更新,支持 source 字段
- BugList.tsx: 新增来源筛选标签页和来源列
- BugDetail.tsx: 按来源条件渲染(CI/CD 信息、部署信息),非 runtime 禁用修复按钮
- Dashboard.tsx: 新增来源分布表格
- index.css: 来源标签样式(source-badge)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 10:20:16 +08:00
e9ba36db92
fix bug three
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m31s
2026-02-13 14:04:21 +08:00
fe62f9ca81
fix bug
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m27s
2026-02-12 13:23:59 +08:00
61cbcfc4c4
fix bug
Build and Deploy Log Center / build-and-deploy (push) Successful in 2m7s
2026-02-12 10:42:39 +08:00
aab0312cec
add fix agent
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m35s
2026-01-30 14:52:21 +08:00