Skip to content

Feat/phase6 gitbot#428

Merged
yokowu merged 2 commits intodevfrom
feat/phase6-gitbot
Mar 19, 2026
Merged

Feat/phase6 gitbot#428
yokowu merged 2 commits intodevfrom
feat/phase6-gitbot

Conversation

@yokowu
Copy link
Collaborator

@yokowu yokowu commented Mar 19, 2026

变更描述

迁移 gitbot, gittask 模块

变更类型

  • Bug修复 (不兼容的变更,修复某个问题)
  • 新功能 (不兼容的变更,添加新功能)
  • 破坏性变更 (修复或功能会导致现有功能无法按预期工作)
  • 文档更新
  • 代码重构
  • 其他 (请说明)

影响范围

测试验证

相关问题

关闭 #

yokowu added 2 commits March 19, 2026 18:14
- 新增 git_bots, git_bot_users, git_bot_tasks, project_git_bots 表
- 添加 user, host, project 到 gitbot 的关联边
- 使用 soft delete 和 created_at 游标
GitBot 功能:
- 用户级 CRUD API (6 条路由)
- Bot 共享功能
- 支持 GitHub/GitLab/Gitee/Gitea 四个平台

Webhook 功能:
- 4 个平台 Webhook handler
- HMAC-SHA256 签名验证
- Redis 防重入检查

GitTask 功能:
- 定义 GitTaskUsecase 接口和 CreateGitTaskReq 类型
- Webhook handler 通过 GitTaskUsecase 创建任务

集成:
- 整合到 biz/git/ 模块
- 通过 GitIdentity 动态获取 access_token
- config.Task 添加 ImageID/Core/Memory 字段
@yokowu yokowu merged commit 2607de5 into dev Mar 19, 2026
2 checks passed
@yokowu yokowu deleted the feat/phase6-gitbot branch March 19, 2026 12:54
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.

1 participant