feat: 详细日志(分页/映射/批次进度)+ Artifacts 摘要(sync-summary/verify-report)

This commit is contained in:
yeuimu
2026-07-23 09:01:39 +00:00
parent 367168bcdc
commit 4ec7cf2dd6
18 changed files with 154 additions and 22 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
"""同步编排共享层:客户端/分页、映射、PG 写入。"""
"""同步编排共享层:客户端/分页、映射、PG 写入、Artifacts。"""
from flows.shared import clients, db, mappers
from flows.shared.artifacts import build_stats_rows, emit_sync_summary, emit_verify_report
from flows.shared.clients import (
create_riin_client,
create_sds_client,
@@ -24,4 +25,5 @@ __all__ = [
"fetch_riin_all_pages", "fetch_sds_all_pages", "fetch_goods_concurrent",
"get_channel_type_map", "refresh_channel_type_map", "resolve_courier_source",
"format_date", "start_of_day", "floor_to_hour",
"build_stats_rows", "emit_sync_summary", "emit_verify_report",
]