Commit Graph

52 Commits

Author SHA1 Message Date
cfdaily 976d9ce7c8 fix: M1 git rm 误提交的安装目录文件 + S1 docstring 修正 + S2 去掉 CHECK 约束(司马懿 Review #111)
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 23s
CI / notify-on-failure (pull_request) Successful in 0s
2026-06-14 00:22:13 +08:00
cfdaily c89863a288 feat: §17 ToolchainHandler 强约束实现(Step 1-4)
CI / lint (pull_request) Failing after 7s
CI / test (pull_request) Has been skipped
CI / notify-on-failure (pull_request) Successful in 1s
Step 1: 基础设施
- prompt_composer.py: PromptContext 新增 action_type + action_steps 字段
- spawner.py: handler 路径提取 action_type/action_steps 传入 PromptContext
- db.py: comments CHECK 约束加入 action_report

Step 2: ToolchainHandler 强化
- ToolchainContextSection: 加 steps 渲染 + action_hint(按 action_type)
- ToolchainApiSection: 改为 action_report 提交指引 + Gitea 协作指引
- ToolchainConstraintsSection: 5 条强约束 + Red Flags 防self-rationalization
- verify_completion: action_report → output → comment 三层 fallback
  - review_merged 始终通过(纯通知)
  - infrastructure_failure 始终通过(防递归)
  - 修复 LENGTH(content) → LENGTH(body) bug
- on_failure 三分路: 业务→Gitea PR comment / 系统→Gitea Issue / 基础设施→toolchain task

Step 3: toolchain_routes 改造
- 新增 _toolchain_db_path() + _send_toolchain_task()
- 所有 8 个 handler 改为 _send_toolchain_task
- _send_mail 保留但不再被 toolchain handler 调用
- _send_deploy_failure_mail → _send_deploy_failure_task

Step 4: 测试
- 29 个单元测试全部通过
- 全量 456 passed, 3 skipped, 0 failures
2026-06-13 23:36:44 +08:00
cfdaily d58e38d58f fix(lint): 修复 PR #14 引入的 lint 回退 (119→0)
CI / lint (pull_request) Successful in 6s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s
PR #14 从旧分支复制文件导致回退了 PR #10 的 lint 修复。
修复内容:
- autoflake 移除未使用导入/变量
- autopep8 修复缩进/空格
- 手动修复 F821(pathlib→Path), F541(f-string), F841(未使用变量)
- 所有修复均通过 flake8 --max-line-length=120 --extend-ignore=E501 检查 (0 errors)
2026-06-09 23:53:29 +08:00
cfdaily f7fbdac89c chore: simayi-approved changes - lint fixes, toolchain improvements, healthz
All changes reviewed and APPROVED in PR #12 (Review ID: 40):
- toolchain_routes: webhook repo/org format compat, content dedup (sha256), closed issue filter
- dispatcher: inform mail crash 误标 done 修复
- ticker: cleanup and improvements
- healthz endpoint
- conftest: integration/e2e deselect markers
- docs: design docs, test-guide updates
- various lint/whitespace fixes across 30 files
2026-06-09 23:41:53 +08:00
cfdaily 09a0928bbc fix: resolve all flake8 lint errors (118 → 0)
CI / lint (push) Successful in 8s
CI / lint (pull_request) Successful in 5s
CI / test (push) Failing after 8s
CI / test (pull_request) Failing after 8s
CI / notify-on-failure (push) Successful in 1s
CI / notify-on-failure (pull_request) Successful in 3s
2026-06-09 16:43:41 +08:00
cfdaily b54e6704c9 auto-sync: 2026-05-31 11:33:54 2026-05-31 11:33:54 +08:00
cfdaily 110b947cc6 auto-sync: 2026-05-31 09:05:10 2026-05-31 09:05:10 +08:00
cfdaily 955a2d5f83 auto-sync: 2026-05-30 21:02:44 2026-05-30 21:02:44 +08:00
cfdaily 1abc7a38a7 auto-sync: 2026-05-30 21:02:28 2026-05-30 21:02:28 +08:00
cfdaily 86e13c6bbe auto-sync: 2026-05-30 21:02:02 2026-05-30 21:02:02 +08:00
cfdaily c887a530da auto-sync: 2026-05-29 13:34:39 2026-05-29 13:34:39 +08:00
cfdaily 57aaca3fab auto-sync: 2026-05-29 13:34:22 2026-05-29 13:34:22 +08:00
cfdaily 384a291875 auto-sync: 2026-05-29 13:31:31 2026-05-29 13:31:31 +08:00
cfdaily 1b737518bd auto-sync: 2026-05-29 07:56:05 2026-05-29 07:56:05 +08:00
cfdaily b1d118b4a7 auto-sync: 2026-05-29 01:10:40 2026-05-29 01:10:40 +08:00
cfdaily d2212c4771 auto-sync: 2026-05-28 13:16:08 2026-05-28 13:16:08 +08:00
cfdaily 9330f1999b auto-sync: 2026-05-23 23:36:17 2026-05-23 23:36:17 +08:00
cfdaily c94634cbc9 auto-sync: 2026-05-23 07:27:00 2026-05-23 07:27:00 +08:00
cfdaily c2a0a7a3d7 auto-sync: 2026-05-23 01:02:35 2026-05-23 01:02:35 +08:00
cfdaily 9425b30451 auto-sync: 2026-05-21 23:05:05 2026-05-21 23:05:05 +08:00
cfdaily 5b4995c1cf auto-sync: 2026-05-21 20:48:55 2026-05-21 20:48:55 +08:00
cfdaily 18426c820d auto-sync: 2026-05-21 20:44:46 2026-05-21 20:44:46 +08:00
cfdaily 6f4c20df53 auto-sync: 2026-05-21 20:43:49 2026-05-21 20:43:49 +08:00
cfdaily aa06bc0f0b auto-sync: 2026-05-21 20:05:33 2026-05-21 20:05:33 +08:00
cfdaily 5a8e4ec74a auto-sync: 2026-05-21 20:04:46 2026-05-21 20:04:46 +08:00
cfdaily 6051e342f4 auto-sync: 2026-05-19 19:58:24 2026-05-19 19:58:24 +08:00
cfdaily db05786143 auto-sync: 2026-05-19 18:25:13 2026-05-19 18:25:13 +08:00
cfdaily d2236e3494 auto-sync: 2026-05-19 18:25:01 2026-05-19 18:25:01 +08:00
cfdaily aae903d8f3 auto-sync: 2026-05-19 18:22:21 2026-05-19 18:22:21 +08:00
cfdaily 6b99e38025 auto-sync: 2026-05-19 13:53:41 2026-05-19 13:53:41 +08:00
cfdaily 13f34531d8 auto-sync: 2026-05-19 13:53:29 2026-05-19 13:53:29 +08:00
cfdaily d3f86cd600 auto-sync: 2026-05-18 23:27:53 2026-05-18 23:27:53 +08:00
cfdaily 1904a23742 auto-sync: 2026-05-18 23:23:10 2026-05-18 23:23:10 +08:00
cfdaily 5098139d7d auto-sync: 2026-05-18 23:22:58 2026-05-18 23:22:58 +08:00
cfdaily 796eaf41bf auto-sync: 2026-05-18 23:22:28 2026-05-18 23:22:28 +08:00
cfdaily ae8b85df1d auto-sync: 2026-05-18 11:36:11 2026-05-18 11:36:11 +08:00
cfdaily 4654ebfdba auto-sync: 2026-05-18 06:10:50 2026-05-18 06:10:50 +08:00
cfdaily 90b235f7e2 auto-sync: 2026-05-18 00:37:17 2026-05-18 00:37:17 +08:00
cfdaily 4eab60a250 auto-sync: 2026-05-18 00:36:59 2026-05-18 00:36:59 +08:00
cfdaily 9e88e93613 auto-sync: 2026-05-18 00:22:05 2026-05-18 00:22:05 +08:00
cfdaily 96a261baa4 auto-sync: 2026-05-18 00:21:53 2026-05-18 00:21:53 +08:00
cfdaily eb0a29f518 auto-sync: 2026-05-18 00:21:31 2026-05-18 00:21:31 +08:00
cfdaily 6ba615739c auto-sync: 2026-05-18 00:21:21 2026-05-18 00:21:21 +08:00
cfdaily 502707f2c5 auto-sync: 2026-05-18 00:21:07 2026-05-18 00:21:07 +08:00
cfdaily 67aa8b2b4f auto-sync: 2026-05-17 21:49:16 2026-05-17 21:49:16 +08:00
cfdaily 11931964f8 auto-sync: 2026-05-17 21:47:39 2026-05-17 21:47:39 +08:00
cfdaily 67ac6d47cc auto-sync: 2026-05-17 21:47:28 2026-05-17 21:47:28 +08:00
cfdaily df54c1440a auto-sync: 2026-05-17 21:14:52 2026-05-17 21:14:52 +08:00
cfdaily aadd2e621f auto-sync: 2026-05-17 21:14:40 2026-05-17 21:14:40 +08:00
cfdaily e70933d223 auto-sync: 2026-05-17 05:55:39 2026-05-17 05:55:39 +08:00