job51-gitlab-cr-node-jt-1 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -29
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -583,35 +583,7 @@ ${allReportsText}
|
|
|
583
583
|
${largeFilePrompt}
|
|
584
584
|
**⚠️ 强制输出格式要求(违反会导致审查结果丢失)**:
|
|
585
585
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
<REPORT>
|
|
589
|
-
## 🤖 AI 代码审查结果
|
|
590
|
-
|
|
591
|
-
### 🔴 严重问题
|
|
592
|
-
|
|
593
|
-
**问题 1**:[问题描述]<br/>
|
|
594
|
-
**文件及行号**:[文件路径:实际行号]<br/>
|
|
595
|
-
**修改建议**:[修复建议]
|
|
596
|
-
|
|
597
|
-
**问题 2**:[问题描述]<br/>
|
|
598
|
-
**文件及行号**:[文件路径:实际行号]<br/>
|
|
599
|
-
**修改建议**:[修复建议]
|
|
600
|
-
|
|
601
|
-
...(更多问题按同样格式)
|
|
602
|
-
|
|
603
|
-
</REPORT>
|
|
604
|
-
|
|
605
|
-
<LINE_INFO>
|
|
606
|
-
[{"new_path":"文件路径","new_line":实际行号},{"new_path":"文件路径","new_line":实际行号}]
|
|
607
|
-
</LINE_INFO>
|
|
608
|
-
|
|
609
|
-
**审查重点**:
|
|
610
|
-
1. 资源泄漏:JDBC/文件流未关闭 → 报告资源创建行号
|
|
611
|
-
2. 框架问题:@Async返回具体类型 → 报告方法定义行号
|
|
612
|
-
3. 循环逻辑:状态过期、累积不一致 → 报告循环内出错行号
|
|
613
|
-
4. 异常吞没:catch块空实现 → 报告catch行号
|
|
614
|
-
5. 空指针:包装类型拆箱 → 报告使用行号
|
|
586
|
+
必须以规定格式输出,不要输出任何分析过程、思考过程或中间文本:
|
|
615
587
|
|
|
616
588
|
**关键**:
|
|
617
589
|
- 有严重问题时,LINE_INFO 必须包含对应行号,否则结果被丢弃
|