From 2224523a3f5d6f9cae89488717e7e94af03ea4e9 Mon Sep 17 00:00:00 2001 From: chenxing Date: Wed, 14 Oct 2026 19:06:18 +0800 Subject: [PATCH] =?UTF-8?q?docs(T4):=20=E5=9B=9E=E5=A1=AB=20=C2=A74=20?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E4=B8=8E=20CI=20=E8=AF=81=E6=8D=AE=EF=BC=88r?= =?UTF-8?q?un=201493=20completed/success=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docs-only:只改本文,不动任何构建输入;同一提交说明 local-debug/ 冒烟脚本不在本仓工作树 (仓库根是 service/),以及 CI 取证改从已存凭据读 Gitea Actions API(git credential fill 在非交互会话会挂)。 --- docs/T4-report.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/T4-report.md b/docs/T4-report.md index 39a850b..7f89aa6 100644 --- a/docs/T4-report.md +++ b/docs/T4-report.md @@ -155,6 +155,21 @@ AnswerScopeQueryBuilder ← 四条读出路径 + 管理动作行级把关的唯 ## 4. 推送与 CI -(待回填:提交号、推送区间、Gitea Actions run 结论。) +| 仓 | 提交 | 推送 | CI run | 结论 | +| --- | --- | --- | --- | --- | +| form-center-service | `49b095e`(57 条路径:34 新增 + 23 修改,逐条 `git add`,清单见 §1.6/§1.7) | `b2778e5..49b095e main -> main` | [run 1493](http://192.168.10.160:3000/form-center/form-center-service/actions/runs/1493)(head_sha `49b095eb812a…`,`display_title` 即本次提交标题) | **status=completed / conclusion=success**(Gitea Actions API 实测,HTTP 200) | +| form-center-front | 无改动 | 未推送 | — | T4 是纯后端任务 | + +- 暂存方式:**按显式路径逐条 `git add`**(57 条),提交前 `git status` 核对无残留未跟踪项、无 `add -A`、无敏感文件; + `target/`(含 jar 与冒烟临时 json)与 `local-debug/` 都**不在本仓工作树**——`local-debug/` 在 + `form-center/` 根,而仓库根是 `form-center/service`,`git check-ignore` 直接报 "outside repository"。 + 因此本轮新增的冒烟脚本 `local-debug/t4-read-smoke.sh` **不入库**(沿 T1~T3 同一事实,执行手册 §4.2 + 要求的"脚本入 local-debug"落在该目录本身,入库需另建前端/脚本仓或调整仓库根,不在本轮擅自动)。 +- 取证方式:`git credential fill` 会拉起 GCM 图形框(本会话非交互直接超时),故改从 + `~/.git-credentials` 取 `192.168.10.160` 这条已存凭据调 `GET /api/v1/repos/.../actions/runs[/{id}]`, + 凭据不回显、不落盘、不入库(脚本产物 `target/runs.json`、`target/run1493.json` 已被 `.gitignore` 排除)。 +- CI 只跑 `mvn -B -DskipTests clean package`(**不跑单测**,方案 §7.2),所以 CI 绿只证明产物链可构建; + 读路径/范围/导出的行为证据在本文 §2 的本地 `mvn test`(177 条,其中 23 条打真实 MySQL)。 +- 本节的回填本身是一次 docs-only 提交(只改本文,不动任何构建输入),其后同流水线再跑一次。 —— 全文完 ——