fix(reconciliation): worker 在对账接线时注册 reconciliation.run(CYWL-34) #49
Reference in New Issue
Block a user
Delete Branch "fix/t6-worker-handler-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
候选
9dddda84实测:批次能建、入队成功(jobs有 pending 行),但 worker 从不认领——worker_heartbeats.job_types里没有reconciliation.run。原因:该 handler 注册在
workerHandlers的测试库取件块内,而这块在!TEST_WEKNORA_ENABLED时直接return;只开RECONCILIATION_ENABLED的候选于是「API 接线、worker 空转」,批次停在running直到 6h 僵死回收。修复:把注册移到早退之前,只依赖
reconciliationService(租户 Key 走知识库绑定),与旧取件/上传链路解耦。验证:
go build ./...、go test ./...(经make verify17 项 = 16 success + identity skipped)。契约未动。