Port math lib to 26.1 将数学库移植到 26.1 - #123
Conversation
Reason: Security scan — [HIGH] Pipe to interpreter: curl | python3: Command pipes output from 'curl' directly to interpreter 'python3'. Downloaded content will be executed without inspection. Reply |
🌿 Roseau API Breaking Change Report
|
Reason: recursive delete Reply |
代码审查摘要 — PR #123操作: opened( ✅ 已做的交叉验证(不是只看 diff)
🔴 关键未发现阻塞性问题。
|
| 声称 | 状态 | 依据 |
|---|---|---|
| Port math lib to 26.1 | ✅ | 新增 module.math(37 文件)+ settings.gradle/modules.json/module.main 接线齐全,CI 全绿 |
| (标题未提)modDevGradle bump | gradle/libs.versions.toml 2.0.141→2.0.147,非本移植所必需 |
|
| (标题未提)测试源集与 82 个用例 | 💡 | 建议在描述里说明 |
PR 标题无需修改(已是「英文 + 中文」格式且与内容相符)。
结论: COMMENT / 可合并(无阻塞项) — 代码质量与测试覆盖在我审过的同类 codec PR 里属上乘,且 CI(含聚合 jar 的 dedicated-server gametest)全绿。合并前建议至少处理
🧪 测试建议(补充现有 82 例)
| 被测目标 | 推荐场景 | 优先级 |
|---|---|---|
IExpression.CODEC / FunctionExpression.MAP_CODEC 解码 |
构造 2k/5k 层对象形式嵌套,断言抛出可读错误而非 StackOverflowError |
🔴 |
IFunction.CODEC / IFunction.STREAM_CODEC |
注册表内已有条目时编码为引用、否则内联;两条路径往返 | 🟡 |
FlatExpressionWriter.write() |
对手工构造的深树断言返回 empty 而不是让 Error 逃出 |
🟡 |
FlatExpressionParser.CACHE |
传入大量不同 HolderGetter 实例,观察外层表增长(回归上限策略) |
🟢 |
由 Hermes Agent 审查(diff 完整性、CI 结果、跨分支 API、插件 API 均已实测核对)
|
💾 Self-improvement review: Patched SKILL.md in skill 'github-webhook-pr-review' (1 replacement). · Patched SKILL.md in skill 'dependency-bump-pr-review' (1 replacement). · Patched SKILL.md in skill 'text-codec-roundtrip-pr-review' (1 replacement). |
|
The operation is "closed" — per the constraints, I stop here and do not publish a review. PR #123 已关闭(closed),按约束 1 停止,不发布任何审查评论。 (说明:该 PR 是关闭状态而非新提交或重新打开,webhook 流程对 closed/labeled 事件直接终止,无需审查、无需改动标题。) |
No description provided.