Просмотр исходного кода

chore: auto bump version and changelog [skip ci]

zxyj-langgraph 1 день назад
Родитель
Сommit
7aeef40a23

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-a03719aacab4c0d66927de8497b667416e0a6435
+a8cda0169ef19052ccbc5277ec6474fc80877a20

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2341",
+  "version": "1.0.2342",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.2341",
+      "version": "1.0.2342",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2342",
+  "version": "1.0.2343",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 20 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,26 @@
 
 ---
 
+## v1.0.2343 (2026-11-11)
+
+### 新功能
+- langgraph.intent.errorPropagate - AiGateway 上游 429/401 必须传播,不得静默吞 null
+
+### 其他
+- 实现使绿:
+- - AiGateway.chat()/chatForAnalysis():RestClientException 且为 429/401(HttpClientErrorException)时
+-   recordFailure() 后向上抛出(传播外部服务错误,供编排降级/告警),其他失败(熔断/超时/连接失败)
+-   仍按原语义返回 null 兜底
+- - 新增私有辅助 isExternalServiceError(RestClientException) 识别 429/401
+- - AiChatController.sendNutritionMessage:resp 为 null 时不再 NPE(chat 现在可能对 429/401 抛出,
+-   但 429/401 场景直接由 AiGateway 抛出;null 仍是「非外部服务错误」兜底,判空更稳妥)
+- - AIService.sendMessage:Javadoc 补充 429/401 传播契约说明(行为不变,429/401 仍直接抛出,
+-   由 Controller 层全局异常处理器处理;非外部服务错误仍走 emptyMap 兜底)
+- 测试结果:LangGraphErrorPropagateContractTest 3失败→5/5通过;AiGatewayTimeoutTest 1/1 通过(零回归)
+- 契约测试类:cfc-backend/src/test/java/com/etotem/cfc/unit/LangGraphErrorPropagateContractTest.java
+- 
+
+
 ## v1.0.2342 (2026-11-11)
 
 ### Bug 修复

+ 21 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.2342
+> 当前版本: v1.0.2343
 
 ## 历史版本
 
@@ -8,6 +8,26 @@
 
 ---
 
+## v1.0.2343 (2026-11-11)
+
+### 新功能
+- langgraph.intent.errorPropagate - AiGateway 上游 429/401 必须传播,不得静默吞 null
+
+### 其他
+- 实现使绿:
+- - AiGateway.chat()/chatForAnalysis():RestClientException 且为 429/401(HttpClientErrorException)时
+-   recordFailure() 后向上抛出(传播外部服务错误,供编排降级/告警),其他失败(熔断/超时/连接失败)
+-   仍按原语义返回 null 兜底
+- - 新增私有辅助 isExternalServiceError(RestClientException) 识别 429/401
+- - AiChatController.sendNutritionMessage:resp 为 null 时不再 NPE(chat 现在可能对 429/401 抛出,
+-   但 429/401 场景直接由 AiGateway 抛出;null 仍是「非外部服务错误」兜底,判空更稳妥)
+- - AIService.sendMessage:Javadoc 补充 429/401 传播契约说明(行为不变,429/401 仍直接抛出,
+-   由 Controller 层全局异常处理器处理;非外部服务错误仍走 emptyMap 兜底)
+- 测试结果:LangGraphErrorPropagateContractTest 3失败→5/5通过;AiGatewayTimeoutTest 1/1 通过(零回归)
+- 契约测试类:cfc-backend/src/test/java/com/etotem/cfc/unit/LangGraphErrorPropagateContractTest.java
+- 
+
+
 ## v1.0.2342 (2026-11-11)
 
 ### Bug 修复