Skip to content

fix(core): 结构服务启动校验三处收口(lingshu #1107,镜像 #1149 净增量) - #1154

Merged
FuRongJun-1999 merged 2 commits into
mainfrom
fix/structure-validation-1149
Oct 29, 2026
Merged

FuRongJun-1999 merged 2 commits into
mainfrom
fix/structure-validation-1149

Conversation

@FuRongJun-1999

Copy link
Copy Markdown
Owner

Summary

修复 lingshu #1107 的三处启动校验缺口(E01/E02/E03),净增量镜像自 PR #1149(@zhtty67-rgb):

镜像说明:#1149 分支基线 3552ec3 落后 main 2 笔(#1146/#1147),直接合并会回退已合工作——按 3way 摘取重放,融合点以强口径为准。

Tests

 净增量)

E01:event_history 等的整数参数进入 SQL 前经 _integer 校验(bool 排除+
上界);E02:review 校验 note 类型;E03:grant 名单校验(#1153 已合的
item.strip() 非空口径**保留**——_parse_grant 与 _grant_names 融合时以
强口径为准,[" "] 空白项不放行)。
净增量镜像自 PR #1149(zhtty67-rgb):其分支基线 3552ec3 落后 main 2 笔
直接合并会回退 #1146/#1147,故 3way 摘取重放;融合点=#1153 强口径保留。
守卫 test_issue1107_structure_service_validation(13 条)+#1132/#1146/
structure_writer 邻接 32 passed;#1133/#1134/#1115 回归 16 passed。
Linux CI 红=#1149 守卫是脚本式(pytest 收集 0 件、未列 SCRIPT_TESTS,
test_gate_coverage 判「两条腿都没走到」)。修法:包 test_ 入口进程内直调
_run_assertions()(断言组 24 检查),与 python -X utf8 直跑同判据。
@FuRongJun-1999
FuRongJun-1999 merged commit 9746af3 into main Oct 29, 2026
4 checks passed
This was referenced Oct 29, 2026
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