表结构变了之后口径凑不齐参数时照实记下:以前不试算、也不记日志,一声不响地跳过。现在记一条日志写缺哪几个参数(必填、没给值也没有缺省值的入口字段)和参数本来从哪来,同时写进变化记录的 affects.probes(同一版只记一条),变化页的「影响」一块写「「x」v3:缺少参数 start、end,没有试算」;同一条变化再被探查到时这份记录不丢。变化接口给的 affects 缺的几项补上空的

This commit is contained in:
ThearchyHelios
2026-10-19 10:10:38 +08:00
parent a534af6ea1
commit 2d108d116f
7 changed files with 137 additions and 5 deletions
+16
View File
@@ -54,6 +54,22 @@ export interface SourceChangeAffects {
templates: SourceChangeTemplate[]
/** 有效记录条件用到了这一列 */
rules_touched: boolean
/**
* 表结构变了之后口径没能试算的那几版(服务端 ledger/recall._probe_skipped):缺哪几个参数、原因原话、参数本来从哪来。
* 只记没试算的;试算了的结论在召回待办里
*/
probes?: SourceChangeProbe[]
}
export interface SourceChangeProbe {
workflow_id: string
version: number
name: string
outcome: 'skipped'
missing: string[]
reason: string
/** formal 最近一次正式运行 / answer 等价的问数回答 / defaults 入口的缺省值 */
inputs_from?: string
}
/** 现在能做的一个处理动作;ok 为假时 reason 写为什么做不了 */