召回收尾:启动时只接着做当前发布版的自动批次、补测重启后从已有召回运行重算计划;时间线认不出的依据种类不猜

- ledger/recall.resume:最近发布、之后又发布了更新版本的不再接着做(新版本的召回本来就覆盖更早的所有版本)
- 测试:重启前只发起了一组、也没收尾,重启后接着发完自动那一批、补上收尾照样开待办,再重启一次不再发起
- run/decode:ledger.basis_changed 认不出种类时写「答案的依据有变」,不当成目录事实变了;batches 的说明照实写参数原样给搭建者
This commit is contained in:
ThearchyHelios
2026-10-16 20:11:46 +08:00
parent 35583ba1d8
commit bbf6ebb79d
5 changed files with 55 additions and 7 deletions
+2
View File
@@ -145,6 +145,8 @@ export const RECALL_TEXT = {
values: '依据有变:出现了触及有效记录条件的新码值',
catalog_edit: '依据有变:处理数据源变化时改了数据目录',
} as Record<string, string>,
/** 认不出是哪一种依据变了(缺字段、以后加的种类):只说依据有变,不猜 */
basisGeneric: '答案的依据有变',
basisItems: (labels: string[]) => labels.join('、'),
newErrors: (count: number) => `按新目录检查新出现 ${n(count)} 条错误级问题`,
sub: '封存后追加,不在封存范围内',
+1 -1
View File
@@ -2452,7 +2452,7 @@ export function decodeRun(events: RunEvent[], final?: RunFinal, opts?: DecodeOpt
out.push({
id: `lb-${seq}`, seq, kind: 'note', status: 'done', code: 'ledger_basis_changed',
level: errors > 0 || d.kind === 'structure' ? 'warn' : 'info',
title: R.basis[String(d.kind)] ?? R.basis.catalog,
title: R.basis[String(d.kind)] ?? R.basisGeneric,
sub: R.sub,
...(where ? { meta: where } : {}),
...(labels.length || errors ? { detail: [labels.length ? R.basisItems(labels) : '', errors ? R.newErrors(errors) : '']